Enum LongBits.ToLongIndex

java.lang.Object
java.lang.Enum<LongBits.ToLongIndex>
org.immutables.value.processor.meta.LongBits.ToLongIndex
All Implemented Interfaces:
com.google.common.base.Function<LongBits.BitPosition,Integer>, Serializable, Comparable<LongBits.ToLongIndex>, java.lang.constant.Constable, Function<LongBits.BitPosition,Integer>
Enclosing class:
LongBits

static enum LongBits.ToLongIndex extends Enum<LongBits.ToLongIndex> implements com.google.common.base.Function<LongBits.BitPosition,Integer>
  • Enum Constant Details

  • Constructor Details

    • ToLongIndex

      private ToLongIndex()
  • Method Details

    • values

      public static LongBits.ToLongIndex[] 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 LongBits.ToLongIndex 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
    • apply

      public Integer apply(LongBits.BitPosition input)
      Specified by:
      apply in interface com.google.common.base.Function<LongBits.BitPosition,Integer>
      Specified by:
      apply in interface Function<LongBits.BitPosition,Integer>