com.groupbyinc.flux.common.ibm.icu.text.CanonicalIterator.class Maven / Gradle / Ivy
???? 2Z 9com/groupbyinc/flux/common/ibm/icu/text/CanonicalIterator java/lang/Object CanonicalIterator.java Jcom/groupbyinc/flux/common/ibm/icu/impl/Norm2AllModes$DecomposeNormalizer2 5com/groupbyinc/flux/common/ibm/icu/impl/Norm2AllModes DecomposeNormalizer2 PROGRESS Z
SKIP_ZEROS nfd 5Lcom/groupbyinc/flux/common/ibm/icu/text/Normalizer2; nfcImpl 9Lcom/groupbyinc/flux/common/ibm/icu/impl/Normalizer2Impl; source Ljava/lang/String; done pieces [[Ljava/lang/String; current [I buffer Ljava/lang/StringBuilder; SET_WITH_NULL_STRING Ljava/util/Set; #Ljava/util/Set; (Ljava/lang/String;)V ()V
! java/lang/StringBuilder #
$ ! & getNFCInstance 9()Lcom/groupbyinc/flux/common/ibm/icu/impl/Norm2AllModes; ( )
* decomp LLcom/groupbyinc/flux/common/ibm/icu/impl/Norm2AllModes$DecomposeNormalizer2; , - . 0 impl 2 3 7com/groupbyinc/flux/common/ibm/icu/impl/Normalizer2Impl 5 ensureCanonIterData ;()Lcom/groupbyinc/flux/common/ibm/icu/impl/Normalizer2Impl; 7 8
6 9 ; setSource =
> this ;Lcom/groupbyinc/flux/common/ibm/icu/text/CanonicalIterator; allModes 7Lcom/groupbyinc/flux/common/ibm/icu/impl/Norm2AllModes; getSource ()Ljava/lang/String; F reset I K i I next setLength (I)V P Q
$ R T append -(Ljava/lang/String;)Ljava/lang/StringBuilder; V W
$ X toString Z E
$ [ java/lang/String ] result 3com/groupbyinc/flux/common/ibm/icu/text/Normalizer2 ` normalize ,(Ljava/lang/CharSequence;)Ljava/lang/String; b c
a d length ()I f g
^ h [Ljava/lang/String; j l java/util/ArrayList n
o ! -com/groupbyinc/flux/common/ibm/icu/text/UTF16 q findOffsetFromCodePoint (Ljava/lang/String;I)I s t
r u java/util/List w codePointAt (I)I y z
^ { isCanonSegmentStarter (I)Z } ~
6 substring (II)Ljava/lang/String; ? ?
^ ? add (Ljava/lang/Object;)Z ? ? x ? java/lang/Character ? charCount ? z
? ? size ? g x ? ? java/lang/System ? out Ljava/io/PrintStream; ? ? ? ? SEGMENT ? java/io/PrintStream ? println ?
? ? get (I)Ljava/lang/Object; ? ? x ? getEquivalents '(Ljava/lang/String;)[Ljava/lang/String; ? ?
? cp newSource segmentList $Ljava/util/List; Ljava/util/List; start permute %(Ljava/lang/String;ZLjava/util/Set;)V Ljava/lang/Deprecated; countCodePoint (Ljava/lang/String;)I ? ?
r ?
java/util/Set ? ? ? java/util/HashSet ?
? ! charAt ? t
r ? 2com/groupbyinc/flux/common/ibm/icu/lang/UCharacter ? getCombiningClass ? z
? ? clear ? ? ? getCharCount ? z
r ? (I)Ljava/lang/String; ? ?
^ ? ? ?
? valueOf '(Ljava/lang/String;I)Ljava/lang/String; ? ?
r ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ()Z ? ? ? ? ()Ljava/lang/Object; O ? ? ? piece s chStr skipZeros output
subpermute getEquivalents2 #(Ljava/lang/String;)Ljava/util/Set; ? ?
?
? 2com/groupbyinc/flux/common/ibm/icu/text/Normalizer ? compare ((Ljava/lang/String;Ljava/lang/String;I)I ? ?
? ? Adding Permutation: ? /com/groupbyinc/flux/common/ibm/icu/impl/Utility ? hex ? c
? ? -Skipping Permutation: ? ? ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ? ? ? possible item it2 (Ljava/util/Iterator; Ljava/util/Iterator; segment basic permutations it finalResult Adding: java/lang/StringBuffer
! 2com/groupbyinc/flux/common/ibm/icu/text/UnicodeSet
! getCanonStartSet 8(ILcom/groupbyinc/flux/common/ibm/icu/text/UnicodeSet;)Z
6 :com/groupbyinc/flux/common/ibm/icu/text/UnicodeSetIterator 7(Lcom/groupbyinc/flux/common/ibm/icu/text/UnicodeSet;)V
O ?
codepoint N extract =(ILjava/lang/String;ILjava/lang/StringBuffer;)Ljava/util/Set;
! ? ?
r# cp2 remainder prefix iter