public final class NextNumber
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NEXT_NUMBER_FUNCTION
The next number function
|
Modifier and Type | Method and Description |
---|---|
static long |
get(java.lang.String id)
The next number of this type.
|
static long |
get(java.lang.String id,
DataBase dBase)
The next number of this type.
|
static long |
get(java.lang.String code,
DataBase dBase,
int cacheSize)
The next number of this type.
|
public static final java.lang.String NEXT_NUMBER_FUNCTION
@CheckReturnValue public static long get(@Nonnull java.lang.String id)
id
- The next number code@CheckReturnValue public static long get(@Nonnull java.lang.String id, @Nonnull DataBase dBase)
id
- The next number codedBase
- The database to use.@CheckReturnValue public static long get(@Nonnull java.lang.String code, @Nonnull DataBase dBase, int cacheSize)
code
- The next number codedBase
- The database to use.cacheSize
- The cache size must be positive or disabled by zero, default if -1stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.