public static enum EntryIndexComparator.Compare extends java.lang.Enum<EntryIndexComparator.Compare>
Enum Constant and Description |
---|
BOTH_ENTRIES_NULL
both entries are null
|
ENTRIES_EQUAL
both iterators are equally indexed
|
FIRST_ENTRY_NULL
first entry is null
|
FIRST_LOWEST
first iterator has lowest index
|
SECOND_ENTRY_NULL
second entry is null
|
SECOND_LOWEST
second iterator has lowest index
|
Modifier and Type | Method and Description |
---|---|
static EntryIndexComparator.Compare |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntryIndexComparator.Compare[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryIndexComparator.Compare FIRST_LOWEST
public static final EntryIndexComparator.Compare SECOND_LOWEST
public static final EntryIndexComparator.Compare ENTRIES_EQUAL
public static final EntryIndexComparator.Compare BOTH_ENTRIES_NULL
public static final EntryIndexComparator.Compare FIRST_ENTRY_NULL
public static final EntryIndexComparator.Compare SECOND_ENTRY_NULL
public static EntryIndexComparator.Compare[] values()
for (EntryIndexComparator.Compare c : EntryIndexComparator.Compare.values()) System.out.println(c);
public static EntryIndexComparator.Compare 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