Enum BitMask

    • Enum Constant Detail

      • 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 Detail

      • values

        public static BitMask[] 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 (BitMask c : BitMask.values())
            System.out.println(c);
        
        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>