public enum InternalIdFactory extends Enum<InternalIdFactory>
All provided ids are unique negative longs.
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
long |
next() |
static InternalIdFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalIdFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalIdFactory INSTANCE
public static InternalIdFactory[] values()
for (InternalIdFactory c : InternalIdFactory.values()) System.out.println(c);
public static InternalIdFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic long next()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.