Enum KeySpaceDirectory.KeyType

    • Method Detail

      • values

        public static KeySpaceDirectory.KeyType[] 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 (KeySpaceDirectory.KeyType c : KeySpaceDirectory.KeyType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KeySpaceDirectory.KeyType 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
      • isMatch

        public boolean isMatch​(@Nullable
                               Object value)
        Get whether the provided value can be represented by this type.
        Parameters:
        value - the value to check
        Returns:
        true if value can be represented by this type
      • getAnyValue

        public Object getAnyValue()
      • getTypeLowBounds

        public byte getTypeLowBounds()
      • getTypeHighBounds

        public byte getTypeHighBounds()