To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

IDFactory.scala 185 Bytes
Newer Older
Kunshan Wang's avatar
Kunshan Wang committed
1
2
3
4
5
6
7
8
9
10
11
package uvm.ir.textinput

class IDFactory(val initialID: Int = 65536) {
  private var id: Int = initialID

  def getID(): Int = {
    val myID = id
    id = id + 1
    return myID
  }
}