public interface Generator
Modifier and Type | Field and Description |
---|---|
static String |
UUID_HEX |
static String |
UUID_STRING |
static String |
UUID_TYPE4_HEX |
static String |
UUID_TYPE4_STRING |
Modifier and Type | Method and Description |
---|---|
void |
allocate(int additional)
Hint to the sequence to allocate additional values up-front for
efficiency.
|
Object |
current()
The current sequence value, or null if the sequence does not
support current values.
|
Seq |
getDelegate()
Deprecated.
cast to
GeneratorImpl instead. This
method pierces the published-API boundary, as does the SPI cast. |
String |
getName()
The sequence name.
|
Object |
next()
The next sequence value.
|
static final String UUID_HEX
static final String UUID_STRING
static final String UUID_TYPE4_STRING
static final String UUID_TYPE4_HEX
String getName()
Object next()
Object current()
void allocate(int additional)
Seq getDelegate()
GeneratorImpl
instead. This
method pierces the published-API boundary, as does the SPI cast.Copyright © 2006–2017 Apache Software Foundation. All rights reserved.