com.groupbyinc.flux.common.apache.lucene.util.automaton.Automaton.class Maven / Gradle / Ivy
???? 4? Acom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton java/lang/Object 9com/groupbyinc/flux/common/apache/lucene/util/Accountable Automaton.java Icom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton$Builder Builder Ccom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton$2 Ccom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton$1
nextState I nextTransition curState states [I isAccept Ljava/util/BitSet; transitions
deterministic Z destMinMaxSorter 6Lcom/groupbyinc/flux/common/apache/lucene/util/Sorter; minMaxDestSorter $assertionsDisabled ()V (II)V
! this CLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;
% ' ) F(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;)V +
, .
, 1 3 java/util/BitSet 5 (I)V 7
6 8 : < numStates numTransitions createState ()I
growStates B
C E state setAccept (IZ)V getNumStates J A
K "java/lang/IllegalArgumentException M java/lang/StringBuilder O
P % state= R append -(Ljava/lang/String;)Ljava/lang/StringBuilder; T U
P V (I)Ljava/lang/StringBuilder; T X
P Y is out of bounds (numStates= [ ) ] toString ()Ljava/lang/String; _ `
P a (Ljava/lang/String;)V c
N d set f 7
6 g clear i 7
6 j accept getSortedTransitions H()[[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition; E[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition; o F[[Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition; q getNumTransitions (I)I s t
u Bcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition w
x %
getTransition I(IILcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition;)V z {
|
transition DLcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition; t s getAcceptStates ()Ljava/util/BitSet; (I)Z get ? ?
6 ?
addTransition (III)V (IIII)V ? ?
? source dest label ? ? java/lang/AssertionError ?
? % source= ? is out of bounds (maxState is ? dest= ? is out of bounds (max state is ? growTransitions ?
? finishCurrentState ?
? java/lang/IllegalStateException ? from state ( ? ) already had transitions added ?
? d min max
addEpsilon initTransition H(ILcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition;)I ? ?
? getNextTransition G(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition;)V ? ?
? ? x ? ? x ? ? x ? ?
? H I
? i count copy 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil ? grow ([II)[I ? ?
? ? java/lang/System ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? ?
? ? ? ?
?
nextSetBit ? t
6 ? other stateOffset otherNumStates otherAcceptStates 4com/groupbyinc/flux/common/apache/lucene/util/Sorter ? sort ?
? ? tDest tMin tMax lastMax offset start upto isDeterministic ()Z finishState nextState= ? (Ljava/lang/Object;)V ?
? ? ? x ? transitionUpto ? x ? transitionSorted G(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Transition;)Z ? ?
? nextDest nextMin nextMax index appendCharString (ILjava/lang/StringBuilder;)V appendCodePoint ? X
P ? \\U ? java/lang/Integer toHexString (I)Ljava/lang/String;
0000000 java/lang/String 000000 00000
0000 000 00 0 Ljava/lang/String; c b Ljava/lang/StringBuilder; toDot digraph Automaton {
rankdir = LR
" + node [width=0.2, height=0.2, fontsize=8]
$ % initial [shape=plaintext,label=""]
& initial -> 0
( * [shape=doublecircle,label=", "]
. [shape=circle,label="0 -> 2 [label="4 ? ?
6 (C)Ljava/lang/StringBuilder; T8
P9 getStartPoints ()[I java/util/HashSet=
> % valueOf (I)Ljava/lang/Integer;@A
B
java/util/SetD add (Ljava/lang/Object;)ZFGEH ?? sizeK AEL iterator ()Ljava/util/Iterator;NOEP java/util/IteratorS hasNextU ?TV next ()Ljava/lang/Object;XYTZ intValue\ A
] java/util/Arrays_ ([I)V ?a
`b trans limit m Ljava/lang/Integer; pointset $Ljava/util/Set; Ljava/util/Set; points n step (II)I ramBytesUsed ()J ?com/groupbyinc/flux/common/apache/lucene/util/RamUsageEstimatorq NUM_BYTES_OBJECT_HEADERs rt sizeOf ([I)Jvw
rx
6L NUM_BYTES_OBJECT_REF{ r|
access$000 G(Lcom/groupbyinc/flux/common/apache/lucene/util/automaton/Automaton;)[I x0 java/lang/Class? desiredAssertionStatus? ?
?? Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable
SourceFile InnerClasses !
? 5 *? "? ? # $ ?
X Y ? ? E*? &*? (*? **? Y*? -? /*? Y*? 0? 2*h?
? 4*? 6Y? 9? ;*h?
? =? ? E # $ E > E ? ? &