Package rma.util

Class IntegerKeyGenerator

java.lang.Object
rma.util.IntegerKeyGenerator
All Implemented Interfaces:
Serializable

public class IntegerKeyGenerator extends Object implements Serializable
An Object which will generate unique Integer keys. Starts from 0 or the constructor arg and increases by 1.
See Also:
  • Constructor Details

    • IntegerKeyGenerator

      public IntegerKeyGenerator()
    • IntegerKeyGenerator

      public IntegerKeyGenerator(int num, boolean positive)
  • Method Details

    • generateNewId

      public Integer generateNewId()