Enum BitMask

java.lang.Object
java.lang.Enum<BitMask>
org.refcodes.data.BitMask
All Implemented Interfaces:
Serializable, Comparable<BitMask>, java.lang.constant.Constable, org.refcodes.mixin.ValueAccessor<Long>

public enum BitMask extends Enum<BitMask> implements org.refcodes.mixin.ValueAccessor<Long>
The Enum BitMask.
  • Enum Constant Details

    • MASK_8

      public static final BitMask MASK_8
    • MASK_16

      public static final BitMask MASK_16
    • MASK_24

      public static final BitMask MASK_24
    • MASK_32

      public static final BitMask MASK_32
    • MASK_40

      public static final BitMask MASK_40
    • MASK_48

      public static final BitMask MASK_48
    • MASK_56

      public static final BitMask MASK_56
    • MASK_64

      public static final BitMask MASK_64
  • Method Details

    • values

      public static BitMask[] 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

      public static BitMask 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
    • getValue

      public Long getValue()
      Specified by:
      getValue in interface org.refcodes.mixin.ValueAccessor<Long>