public static enum HGRandomAccessResult.GotoResult extends Enum<HGRandomAccessResult.GotoResult>
Enumerates the possible results of a call to the goTo
in a
HGRandomAccessResult
.
Enum Constant and Description |
---|
close
Indicates that the element was not found, but the cursor was positioned to
the next element greater than the element sought for.
|
found
Indicates that the element was found and the cursor is positioned on that
element.
|
nothing
Indicates that the element was not found and the cursor has NOT
changed position.
|
Modifier and Type | Method and Description |
---|---|
static HGRandomAccessResult.GotoResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HGRandomAccessResult.GotoResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HGRandomAccessResult.GotoResult found
public static final HGRandomAccessResult.GotoResult nothing
public static final HGRandomAccessResult.GotoResult close
public static HGRandomAccessResult.GotoResult[] values()
for (HGRandomAccessResult.GotoResult c : HGRandomAccessResult.GotoResult.values()) System.out.println(c);
public static HGRandomAccessResult.GotoResult 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 nullCopyright © 2015. All rights reserved.