
com.groupbyinc.flux.common.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl.class Maven / Gradle / Ivy
???? 3 ? Wcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttributeImpl ;com/groupbyinc/flux/common/apache/lucene/util/AttributeImpl Scom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute Ycom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/TermToBytesRefAttribute java/lang/Cloneable CharTermAttributeImpl.java MIN_BUFFER_SIZE I
termBuffer [C
termLength builder ?Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder; ()V
7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil oversize (II)I
! =com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder #
$ & this YLcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttributeImpl;
copyBuffer ([CII)V growTermBuffer (I)V , -
. java/lang/System 0 arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V 2 3
1 4 buffer offset length ()[C resizeBuffer (I)[C
newCharBuffer newSize setLength X(I)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; "java/lang/IllegalArgumentException @ java/lang/StringBuilder B
C length E append -(Ljava/lang/String;)Ljava/lang/StringBuilder; G H
C I (I)Ljava/lang/StringBuilder; G K
C L % exceeds the size of the termBuffer ( N ) P toString ()Ljava/lang/String; R S
C T (Ljava/lang/String;)V V
A W setEmpty W()Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; getBytesRef :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; copyChars ] +
$ ^ get ` \
$ a ()I charAt (I)C #java/lang/IndexOutOfBoundsException f
g index subSequence (II)Ljava/lang/CharSequence; java/lang/String l +
m n start end o(Ljava/lang/CharSequence;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute;
appendNull s Z
t java/lang/CharSequence v 8 c w x q(Ljava/lang/CharSequence;II)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; G z
{ csq Ljava/lang/CharSequence; null : ;
? getChars (II[CI)V ? ?
m ?
C ? 6 9 ? java/nio/CharBuffer ? hasArray ()Z ? ?
? ? array ? 9
? ? arrayOffset ? c
? ? position ? c
? ? java/lang/StringBuffer ?
? ? d e w ? cb Ljava/nio/CharBuffer; len csqlen X(C)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; c C i(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute;
m x s Ljava/lang/String; p(Ljava/lang/StringBuilder;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute;
C x Ljava/lang/StringBuilder; ?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; x ta ULcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; hashCode ([CII)I ? ?
? code clear clone [()Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttributeImpl; ?()Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeImpl; ? ?
? copyBytes ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V ? ?
$ ? t equals (Ljava/lang/Object;)Z i o other Ljava/lang/Object; reflectWith E(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeReflector;)V term ?
T @com/groupbyinc/flux/common/apache/lucene/util/AttributeReflector ? reflect 8(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V ? ? ? ? bytes ? [ \
? reflector BLcom/groupbyinc/flux/common/apache/lucene/util/AttributeReflector; copyTo @(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeImpl;)V * + ? target =Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeImpl; ? ?
? ()Ljava/lang/Object; $java/lang/CloneNotSupportedException ? (C)Ljava/lang/Appendable; java/io/IOException ? G ?
? x0 2(Ljava/lang/CharSequence;II)Ljava/lang/Appendable; x1 x2 0(Ljava/lang/CharSequence;)Ljava/lang/Appendable; G r
? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile !
? \ "*? *? ? ?? *? "*? $Y? %? '? ? " ( ) ? ( ! " % ! ( * + ? j *? /+*? ? 5*? "? ? * ( ) 6 7
8
? , - . / 6 9 ? / *? ? ? ( ) ? 3 : ; ? ? **? ?? ? ?M*? ,*? ?? 5*,? *? ? ? <