@InterfaceAudience.Private public enum CellScannerPosition extends Enum<CellScannerPosition>
Enum Constant and Description |
---|
AFTER
getCurrentCell() will return a valid cell, but it is not the cell requested by positionAt(..),
rather it is the nearest cell after the requested cell.
|
AFTER_LAST
getCurrentCell() will NOT return a valid cell.
|
AT
getCurrentCell() will return a valid cell, and it is exactly the cell that was requested by
positionAt(..).
|
BEFORE
getCurrentCell() will return a valid cell, but it is not the cell requested by positionAt(..),
rather it is the nearest cell before the requested cell.
|
BEFORE_FIRST
getCurrentCell() will NOT return a valid cell.
|
Modifier and Type | Method and Description |
---|---|
static CellScannerPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CellScannerPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellScannerPosition BEFORE_FIRST
public static final CellScannerPosition BEFORE
public static final CellScannerPosition AT
public static final CellScannerPosition AFTER
public static final CellScannerPosition AFTER_LAST
public static CellScannerPosition[] values()
for (CellScannerPosition c : CellScannerPosition.values()) System.out.println(c);
public static CellScannerPosition 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 © 2007–2019 The Apache Software Foundation. All rights reserved.