Enum CursorStateEnum
- All Implemented Interfaces:
Serializable, Comparable<CursorStateEnum>
An enumeration to represent the various states of a Cursor.
- Author:
- Apache Directory Project
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe Cursor is positioned just after an element but not on any elementthe Cursor is positioned just after the last elementthe Cursor is positioned just before the first elementthe Cursor is positioned just before an element but not on any elementthe Cursor is closed and not operations can be performed on itthe Cursor has been created and so has not been positioned yetthe Cursor is positioned on the first elementthe Cursor is positioned on an elementthe Cursor is positioned on the last element -
Method Summary
Modifier and TypeMethodDescriptionstatic CursorStateEnumReturns the enum constant of this type with the specified name.static CursorStateEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
JUST_OPENED
the Cursor has been created and so has not been positioned yet -
BEFORE_FIRST
the Cursor is positioned just before the first element -
AFTER_LAST
the Cursor is positioned just after the last element -
BEFORE_INNER
the Cursor is positioned just before an element but not on any element -
AFTER_INNER
the Cursor is positioned just after an element but not on any element -
ON_FIRST
the Cursor is positioned on the first element -
ON_LAST
the Cursor is positioned on the last element -
ON_INNER
the Cursor is positioned on an element -
CLOSED
the Cursor is closed and not operations can be performed on it
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-