@InterfaceAudience.Private public enum CellScannerPosition extends Enum<CellScannerPosition>
枚举常量和说明 |
---|
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.
|
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
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.