public static enum CrossbarMessage.DistributionMode extends java.lang.Enum<CrossbarMessage.DistributionMode>
Enum Constant and Description |
---|
DISTRIBUTE_AS_COPY |
DISTRIBUTE_BY_REFERENCE |
Modifier and Type | Method and Description |
---|---|
static CrossbarMessage.DistributionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CrossbarMessage.DistributionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrossbarMessage.DistributionMode DISTRIBUTE_BY_REFERENCE
public static final CrossbarMessage.DistributionMode DISTRIBUTE_AS_COPY
public static CrossbarMessage.DistributionMode[] values()
for (CrossbarMessage.DistributionMode c : CrossbarMessage.DistributionMode.values()) System.out.println(c);
public static CrossbarMessage.DistributionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null