public enum IterateType extends Enum<IterateType>
Enum Constant and Description |
---|
ITEMS
Equivalent to iterate
Map.entrySet() . |
KEYS
Equivalent to iterate
Map.keySet() . |
VALUES
Equivalent to iterate
Map.values() . |
Modifier and Type | Method and Description |
---|---|
static IterateType |
fromOrd(byte ord) |
byte |
getOrd() |
static IterateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IterateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IterateType ITEMS
Map.entrySet()
.public static final IterateType KEYS
Map.keySet()
.public static final IterateType VALUES
Map.values()
.public static IterateType[] values()
for (IterateType c : IterateType.values()) System.out.println(c);
public static IterateType 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 getOrd()
public static IterateType fromOrd(byte ord)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.