Class < E > function ( final Class < E > arg0 ) { final E [ ] loc0 = asEnum ( arg0 ) . getEnumConstants ( ) ; Validate . isTrue ( loc0 . length <= Long . SIZE , CANNOT_STORE_S_S_VALUES_IN_S_BITS , Integer . valueOf ( loc0 . length ) , arg0 . getSimpleName ( ) , Integer . valueOf ( Long . SIZE ) ) ; return arg0 ; }
validate that enumclass is compatible with representation in a long . concode_field_sep String S_DOES_NOT_SEEM_TO_BE_AN_ENUM_TYPE concode_elem_sep String CANNOT_STORE_S_S_VALUES_IN_S_BITS concode_elem_sep String NULL_ELEMENTS_NOT_PERMITTED concode_elem_sep String ENUM_CLASS_MUST_BE_DEFINED concode_field_sep long[] generateBitVectors concode_elem_sep long[] generateBitVectors concode_elem_sep Class<E> asEnum concode_elem_sep boolean isValidEnum concode_elem_sep E getEnum concode_elem_sep long generateBitVector concode_elem_sep long generateBitVector concode_elem_sep List<E> getEnumList concode_elem_sep Map<String,E> getEnumMap concode_elem_sep EnumSet<E> processBitVector concode_elem_sep EnumSet<E> processBitVectors