Enum CursorStateEnum

    • Enum Constant Detail

      • JUST_OPENED

        public static final CursorStateEnum JUST_OPENED
        the Cursor has been created and so has not been positioned yet
      • BEFORE_FIRST

        public static final CursorStateEnum BEFORE_FIRST
        the Cursor is positioned just before the first element
      • AFTER_LAST

        public static final CursorStateEnum AFTER_LAST
        the Cursor is positioned just after the last element
      • BEFORE_INNER

        public static final CursorStateEnum BEFORE_INNER
        the Cursor is positioned just before an element but not on any element
      • AFTER_INNER

        public static final CursorStateEnum AFTER_INNER
        the Cursor is positioned just after an element but not on any element
      • ON_FIRST

        public static final CursorStateEnum ON_FIRST
        the Cursor is positioned on the first element
      • ON_LAST

        public static final CursorStateEnum ON_LAST
        the Cursor is positioned on the last element
      • ON_INNER

        public static final CursorStateEnum ON_INNER
        the Cursor is positioned on an element
      • CLOSED

        public static final CursorStateEnum CLOSED
        the Cursor is closed and not operations can be performed on it
    • Method Detail

      • values

        public static CursorStateEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CursorStateEnum c : CursorStateEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CursorStateEnum valueOf​(String name)
        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 name
        NullPointerException - if the argument is null