org.apache.commons.lang3.EnumUtils.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2 ?
? ?
?
? ? <
? ? ? ?
? ?
?
? ?
) ?
? ? ? ? ? ? ? ? ? ? ?
? ?
?
) ?
? ?
? ?
? ?
? ?
? ?
) ?
? ?
) ? l
? ? ?
? ?
? ? ?
? ?
? ? ? ? NULL_ELEMENTS_NOT_PERMITTED Ljava/lang/String;
ConstantValue !CANNOT_STORE_S_S_VALUES_IN_S_BITS "S_DOES_NOT_SEEM_TO_BE_AN_ENUM_TYPE ENUM_CLASS_MUST_BE_DEFINED ()V Code LineNumberTable LocalVariableTable this $Lorg/apache/commons/lang3/EnumUtils;
getEnumMap "(Ljava/lang/Class;)Ljava/util/Map; e Ljava/lang/Enum; arr$ [Ljava/lang/Enum; len$ I i$ enumClass Ljava/lang/Class; map Ljava/util/Map; LocalVariableTypeTable TE; Ljava/lang/Class; &Ljava/util/Map;
StackMapTable ? ? Signature W;>(Ljava/lang/Class;)Ljava/util/Map; getEnumList #(Ljava/lang/Class;)Ljava/util/List; F;>(Ljava/lang/Class;)Ljava/util/List; isValidEnum &(Ljava/lang/Class;Ljava/lang/String;)Z ex $Ljava/lang/IllegalArgumentException; enumName ? D;>(Ljava/lang/Class;Ljava/lang/String;)Z getEnum 5(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum; F;>(Ljava/lang/Class;Ljava/lang/String;)TE; generateBitVector ((Ljava/lang/Class;Ljava/lang/Iterable;)J constant Ljava/util/Iterator; values Ljava/lang/Iterable; total J Ljava/lang/Iterable<+TE;>; ? ? L;>(Ljava/lang/Class;Ljava/lang/Iterable<+TE;>;)J generateBitVectors )(Ljava/lang/Class;Ljava/lang/Iterable;)[J value condensed Ljava/util/EnumSet; result [J Ljava/util/EnumSet; ? M;>(Ljava/lang/Class;Ljava/lang/Iterable<+TE;>;)[J %(Ljava/lang/Class;[Ljava/lang/Enum;)J [TE; 6;>(Ljava/lang/Class;[TE;)J &(Ljava/lang/Class;[Ljava/lang/Enum;)[J 7;>(Ljava/lang/Class;[TE;)[J processBitVector '(Ljava/lang/Class;J)Ljava/util/EnumSet; J;>(Ljava/lang/Class;J)Ljava/util/EnumSet; processBitVectors ((Ljava/lang/Class;[J)Ljava/util/EnumSet; block results lvalues K;>(Ljava/lang/Class;[J)Ljava/util/EnumSet; checkBitVectorable $(Ljava/lang/Class;)Ljava/lang/Class; constants G;>(Ljava/lang/Class;)Ljava/lang/Class; asEnum
SourceFile EnumUtils.java 0 1 java/util/LinkedHashMap ? ? ? ? ? ? ? ? java/util/ArrayList ? ? ? 0 ? ? X "java/lang/IllegalArgumentException ~ ? ? ? ? ? ? ? ? ? ? ? java/lang/Enum null elements not permitted java/lang/Object ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Z [ ? ? ? x y ? ? $Cannot store %s %s values in %s bits ? ? ? ? ? EnumClass must be defined. ? ? ? ? #%s does not seem to be an Enum type "org/apache/commons/lang3/EnumUtils java/lang/Class
java/util/Map java/util/Iterator java/util/EnumSet getEnumConstants ()[Ljava/lang/Object; name ()Ljava/lang/String; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; (Ljava/util/Collection;)V valueOf !org/apache/commons/lang3/Validate notNull &(Ljava/lang/Object;)Ljava/lang/Object; java/lang/Iterable iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; isTrue )(ZLjava/lang/String;[Ljava/lang/Object;)V ordinal ()I noneOf &(Ljava/lang/Class;)Ljava/util/EnumSet; add (Ljava/lang/Object;)Z #org/apache/commons/lang3/ArrayUtils reverse ([J)V noNullElements (([Ljava/lang/Object;)[Ljava/lang/Object; java/util/Collections addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z clone ([J)[J java/lang/Integer (I)Ljava/lang/Integer;
getSimpleName K(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; isEnum ! ) * + , - + , " . + , ( / + , %
0 1 2 3 *? ? 3
. / 4 5 6 7 8 2 ? 8? Y? L*? ? M,?>6? ,2:+? ? W????+? 3 ; <