public enum IterationType extends Enum<IterationType>
Enum Constant and Description |
---|
ENTRY
Iterate over whole entry (so key and value)
|
KEY
Iterate over keys
|
VALUE
Iterate over values
|
Modifier and Type | Method and Description |
---|---|
static IterationType |
getById(byte id)
Returns the IterationType for the given id.
|
byte |
getId()
Gets the id for the given IterationType.
|
static IterationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IterationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IterationType KEY
public static final IterationType VALUE
public static final IterationType ENTRY
public static IterationType[] values()
for (IterationType c : IterationType.values()) System.out.println(c);
public static IterationType 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 byte getId()
public static IterationType getById(byte id)
IllegalArgumentException
- if no IterationType was found.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.