com.groupbyinc.flux.common.ibm.icu.text.PluralSamples.class Maven / Gradle / Ivy
???? 2? 5com/groupbyinc/flux/common/ibm/icu/text/PluralSamples java/lang/Object PluralSamples.java Ljava/lang/Deprecated; @com/groupbyinc/flux/common/ibm/icu/text/PluralRules$FixedDecimal 3com/groupbyinc/flux/common/ibm/icu/text/PluralRules FixedDecimal java/util/Map$Entry
java/util/Map Entry Acom/groupbyinc/flux/common/ibm/icu/text/PluralRules$KeywordStatus
KeywordStatus Acom/groupbyinc/flux/common/ibm/icu/text/PluralRules$IFixedDecimal
IFixedDecimal pluralRules 5Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules; _keySamplesMap Ljava/util/Map; GLjava/util/Map;>; _keyLimitedMap 6Ljava/util/Map; _keyFractionSamplesMap vLjava/util/Map;>; _fractionSamples Ljava/util/Set; SLjava/util/Set; TENS [I LIMIT_FRACTION_SAMPLES I 8(Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules;)V ()V ( *
+ - getKeywords ()Ljava/util/Set; / 0
1 java/util/HashMap 3
4 +
java/util/Set 6 iterator ()Ljava/util/Iterator; 8 9 7 : java/util/Iterator < hasNext ()Z > ? = @ next ()Ljava/lang/Object; B C = D java/lang/String F isLimited '(Ljava/lang/String;)Ljava/lang/Boolean; H I
J put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; L M N P size ()I R S 7 T@ addSimpleSamples J(Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules;ILjava/util/Map;ID)I X Y
ZA.?? java/util/TreeSet ^
_ + select W(Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$IFixedDecimal;)Ljava/lang/String; a b
c addRelation f(Ljava/util/Map;Ljava/lang/String;Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$FixedDecimal;)V e f
g T addIfNotPresent "(DLjava/util/Set;Ljava/util/Map;)Z j k
l@$ java/lang/System p out Ljava/io/PrintStream; r s q t java/lang/StringBuilder v
w + (Failed to find sample for each keyword: y append -(Ljava/lang/String;)Ljava/lang/StringBuilder; { |
w } -(Ljava/lang/Object;)Ljava/lang/StringBuilder; {
w ?
? toString ()Ljava/lang/String; ? ?
w ? java/io/PrintStream ? println (Ljava/lang/String;)V ? ?
? ? (J)V ( ?
? add (Ljava/lang/Object;)Z ? ? 7 ? ???????? (DI)V ( ?
????
=p?? fractions (Ljava/util/Set;)Ljava/util/Set; ? ?
? addAll (Ljava/util/Collection;)Z ? ? 7 ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? java/util/LinkedHashSet ?
? + containsKey ? ? ? java/util/Collections ? emptyList ()Ljava/util/List; ? ?
? ? emptySet ? 0
? ? entrySet ? 0 ? getKey ? C
? getValue ? C
? java/util/List ? unmodifiableList "(Ljava/util/List;)Ljava/util/List; ? ?
? ? unmodifiableSet ? ?
? ? ? ? ! ? k Ljava/lang/String; i keyword s BLcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$FixedDecimal; done Z list entry MLjava/util/Map$Entry;>; Ljava/util/Map$Entry; |Ljava/util/Map$Entry;>; this 7Lcom/groupbyinc/flux/common/ibm/icu/text/PluralSamples; keywords #Ljava/util/Set; MAX_SAMPLES temp sampleMap keywordsRemaining limit sampleFractionMap mentioned
foundKeywords (D)Ljava/lang/String; a ?
? java/lang/Boolean ? booleanValue ? ?
? ? java/util/ArrayList ? (I)V ( ?
? ? ? T java/lang/Double ? valueOf (D)Ljava/lang/Double; ? ?
? ? ? ? val D keyIsLimited $Ljava/util/List; Ljava/util/List; java/util/HashSet
+ set (D)V (
other equals
?
G d
numberInfo integerValue J java/lang/Integer (I)Ljava/lang/Integer; ?
(Ljava/util/Collection;)V (
? (I)Ljava/lang/Object; ? ? intValue! S
" contains$ ? 7% getDifferentCategory 7(Ljava/util/List;Ljava/lang/String;)Ljava/lang/Integer;'(
) # $ + .- ( ?
/ base1 visibleFractions base Ljava/lang/Integer; fract j original toAddTo result $Ljava/util/Set; ints %Ljava/util/List; keywordOther getStatus ?(Ljava/lang/String;ILjava/util/Set;Lcom/groupbyinc/flux/common/ibm/icu/util/Output;)Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$KeywordStatus; .com/groupbyinc/flux/common/ibm/icu/util/Output@ value Ljava/lang/Object;BC AD INVALID CLcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$KeywordStatus;FG H getAllKeywordValues *(Ljava/lang/String;)Ljava/util/Collection;JK
L UNBOUNDEDNG O java/util/CollectionQR TR : UNIQUEUG V BOUNDEDXG Y
doubleValue ()D\]
?^ remove` ?
a
T
SUPPRESSEDdG e
: explicit Ljava/lang/Double; offset explicits #Ljava/util/Set; uniqueValue DLcom/groupbyinc/flux/common/ibm/icu/util/Output; 0Lcom/groupbyinc/flux/common/ibm/icu/util/Output; values *Ljava/util/Collection; Ljava/util/Collection; originalSize
subtractedSet 'Ljava/util/HashSet; Ljava/util/HashSet; getKeySamplesMap ()Ljava/util/Map; getKeyFractionSamplesMap getFractionSampleswx
{ ?? B@ Signature
Deprecated RuntimeVisibleAnnotations
ConstantValue Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable ?(Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules;ILjava/util/Map;>;ID)I ?(Ljava/util/Map;>;Ljava/lang/String;Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$FixedDecimal;)V ?(DLjava/util/Set;Ljava/util/Map;>;)Z ?(Ljava/util/Set;)Ljava/util/Set; L(Ljava/util/List;Ljava/lang/String;)Ljava/lang/Integer; ?(Ljava/lang/String;ILjava/util/Set;Lcom/groupbyinc/flux/common/ibm/icu/util/Output;)Lcom/groupbyinc/flux/common/ibm/icu/text/PluralRules$KeywordStatus; I()Ljava/util/Map;>; x()Ljava/util/Map;>; U()Ljava/util/Set; >(Ljava/lang/String;)Ljava/util/Collection;
SourceFile InnerClasses ! ? ? ? ? ? ! ? " # $ % &