io.netty.util.AsciiString.class Maven / Gradle / Ivy
???? 2? io/netty/util/AsciiString ZLjava/lang/Object;Ljava/lang/CharSequence;Ljava/lang/Comparable; java/lang/Object java/lang/CharSequence java/lang/Comparable AsciiString.java Fio/netty/util/AsciiString$GeneralCaseInsensitiveCharEqualityComparator ,GeneralCaseInsensitiveCharEqualityComparator Dio/netty/util/AsciiString$AsciiCaseInsensitiveCharEqualityComparator *AsciiCaseInsensitiveCharEqualityComparator 7io/netty/util/AsciiString$DefaultCharEqualityComparator DefaultCharEqualityComparator 0io/netty/util/AsciiString$CharEqualityComparator CharEqualityComparator io/netty/util/AsciiString$2 io/netty/util/AsciiString$1 ,io/netty/util/ByteProcessor$IndexOfProcessor io/netty/util/ByteProcessor IndexOfProcessor EMPTY_STRING Lio/netty/util/AsciiString; MAX_CHAR_VALUE C ? INDEX_NOT_FOUND I???? value [B offset length hash string Ljava/lang/String; CASE_INSENSITIVE_HASHER Lio/netty/util/HashingStrategy; 9Lio/netty/util/HashingStrategy; CASE_SENSITIVE_HASHER ([B)V ([BZ)V 3 5
6 this ([BIIZ)V 3 9
: copy Z ()V 3 >
? java/util/Arrays A copyOfRange ([BII)[B C D
B E ( ) G * & I ) io/netty/util/internal/MathUtil L
isOutOfBounds (III)Z N O
M P #java/lang/IndexOutOfBoundsException R java/lang/StringBuilder T
U ? expected: 0 <= start( W append -(Ljava/lang/String;)Ljava/lang/StringBuilder; Y Z
U [ (I)Ljava/lang/StringBuilder; Y ]
U ^ ) <= start + length( ` ) <= value.length( b (C)Ljava/lang/StringBuilder; Y d
U e toString ()Ljava/lang/String; g h
U i (Ljava/lang/String;)V 3 k
S l + & n start (Ljava/nio/ByteBuffer;)V (Ljava/nio/ByteBuffer;Z)V 3 r
s Ljava/nio/ByteBuffer; java/nio/ByteBuffer v position ()I x y
w z remaining | y
w } (Ljava/nio/ByteBuffer;IIZ)V 3
? capacity ? y
w ? ) <= value.capacity( ? hasArray ()Z ? ?
w ? arrayOffset ? y
w ? array ()[B ? ?
w ? get ([BII)Ljava/nio/ByteBuffer; ? ?
w ? (I)Ljava/nio/Buffer; x ?
w ? bufferOffset oldPos ([C)V ([CII)V 3 ?
? [C ? c2b (C)B ? ?
? i j ([CLjava/nio/charset/Charset;)V !([CLjava/nio/charset/Charset;II)V 3 ?
? charset Ljava/nio/charset/Charset; java/nio/CharBuffer ? wrap ([CII)Ljava/nio/CharBuffer; ? ?
? ? io/netty/util/CharsetUtil ? encoder =(Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetEncoder; ? ?
? ? java/nio/charset/CharsetEncoder ? maxBytesPerChar ()F ? ?
? ? allocate (I)Ljava/nio/ByteBuffer; ? ?
w ? encode K(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult; ? ?
? ? cbuf Ljava/nio/CharBuffer; !Ljava/nio/charset/CharsetEncoder; nativeBuffer (Ljava/lang/CharSequence;)V + y ? (Ljava/lang/CharSequence;II)V 3 ?
? Ljava/lang/CharSequence; charAt (I)C ? ? ? 5(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;)V 7(Ljava/lang/CharSequence;Ljava/nio/charset/Charset;II)V 3 ?
? 1(Ljava/lang/CharSequence;II)Ljava/nio/CharBuffer; ? ?
? ? forEachByte (Lio/netty/util/ByteProcessor;)I java/lang/Exception ?
? forEachByte0 "(IILio/netty/util/ByteProcessor;)I ? ?
? visitor Lio/netty/util/ByteProcessor; expected: 0 <= index( ? ) <= length( ? index process (B)Z ? ? ? len forEachByteDesc forEachByteDesc0 ? ?
? end byteAt (I)B index: ? must be in the range [0, ? ) ? (io/netty/util/internal/PlatformDependent ? hasUnsafe ?
getByte ([BI)B
isEmpty arrayChanged - .
, & isEntireArrayUsed toByteArray (II)[B
(I[BII)V expected: 0 <= srcIdx( ) <= srcIdx + length( ) <= srcLen( dst !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
java/lang/System" arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V$%
#& srcIdx dstIdx ? ?
* b2c (B)C,-
. contains (Ljava/lang/CharSequence;)Z indexOf (Ljava/lang/CharSequence;)I23
4 cs compareTo java/lang/Math8 min (II)I:;
9<
? result length1 length2 minLength concat 5(Ljava/lang/CharSequence;)Lio/netty/util/AsciiString; getClass ()Ljava/lang/Class;EF
G ?
I 3 ?
K that newValue thisLen thatLen endsWith
regionMatches (ILjava/lang/CharSequence;II)ZRS
T suffix suffixLen contentEqualsIgnoreCase equalsIgnoreCase (BB)ZYZ
[ (CC)ZY]
^ rhs toCharArray ()[C (II)[Cac
d "io/netty/util/internal/EmptyArraysf EMPTY_CHARSh ? gi buffer (I[CII)V java/lang/NullPointerExceptionm
n l dstEnd subSequence (I)Lio/netty/util/AsciiString; (II)Lio/netty/util/AsciiString;qs
t (IIZ)Lio/netty/util/AsciiString;qv
w
) <= end (y ! { (Ljava/lang/CharSequence;I)I2}
~ (B)V 3?
? ? ?
? throwException (Ljava/lang/Throwable;)V??
? o1 o2 e Ljava/lang/Exception; subString subCount firstChar IndexOfVisitor (CI)I ch lastIndexOf?}
? ? ?
? - thisStart thatEnd (ZILjava/lang/CharSequence;II)Z
ignoreCase thisEnd replace (CC)Lio/netty/util/AsciiString; ? ?
? b B oldChar newChar oldCharByte newCharByte
startsWith (Ljava/lang/CharSequence;I)Z??
? prefix toLowerCase ()Lio/netty/util/AsciiString; (B)B??
?
lowercased toUpperCase??
?
uppercased trim last
contentEquals equals (Ljava/lang/Object;)Z??
? a matches (Ljava/lang/String;)Z java/util/regex/Pattern? -(Ljava/lang/String;Ljava/lang/CharSequence;)Z??
?? expr split 1(Ljava/lang/String;I)[Lio/netty/util/AsciiString; compile -(Ljava/lang/String;)Ljava/util/regex/Pattern;??
?? .(Ljava/lang/CharSequence;I)[Ljava/lang/String;??
?? toAsciiStringArray 1([Ljava/lang/String;)[Lio/netty/util/AsciiString;??
? max (C)[Lio/netty/util/AsciiString; -io/netty/util/internal/InternalThreadLocalMap? 1()Lio/netty/util/internal/InternalThreadLocalMap; ??
?? arrayList ()Ljava/util/ArrayList;??
?? java/util/List?
? add???? size? y?? (I)Ljava/lang/Object; ???? remove???? toArray (([Ljava/lang/Object;)[Ljava/lang/Object;???? [Lio/netty/util/AsciiString;? delim res -Ljava/util/List; Ljava/util/List; hashCode
hashCodeAscii ([BII)I??
?? y
?
?
([BI[BII)Z?
obj Ljava/lang/Object; other (I)Ljava/lang/String; g
(II)Ljava/lang/String; g
java/lang/String ([BIII)V 3
str parseBoolean parseChar ()C ?
02 bytes required to convert to character. index would go out of bounds. startWithOffset
parseShort ()S (III)S
! (I)S radix (II)S parseInt (III)I&'
( java/lang/NumberFormatException*
i
+ l intValue S (I)I
+ ? (IIIZ)I&2
3 negative? java/lang/Character7 digit9?
8: next
currOffset parseLong ()J (III)J>@
A (I)J (II)J (IIIZ)J>E
F? J
parseFloat (II)FKL
M java/lang/FloatO (Ljava/lang/String;)FKQ
PR parseDouble ()D (II)DTV
W java/lang/DoubleY (Ljava/lang/String;)DT[
Z\ of
??3
` 3(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z INSTANCE 9Lio/netty/util/AsciiString$DefaultCharEqualityComparator;cd e e(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lio/netty/util/AsciiString$CharEqualityComparator;)Z0g
h containsIgnoreCase FLio/netty/util/AsciiString$AsciiCaseInsensitiveCharEqualityComparator;ck lX1
n containsContentEqualsIgnoreCase 1(Ljava/util/Collection;Ljava/lang/CharSequence;)Z java/util/Collectionr iterator ()Ljava/util/Iterator;tusv java/util/Iteratorx hasNextz ?y{ ()Ljava/lang/Object;<}y~Xb
? v
collection 0Ljava/util/Collection; Ljava/util/Collection; "containsAllContentEqualsIgnoreCase /(Ljava/util/Collection;Ljava/util/Collection;)Zpq
??1
? jdkResult [Ljava/lang/String;?] ? cmp 2Lio/netty/util/AsciiString$CharEqualityComparator; bStart regionMatchesCharSequences h(Ljava/lang/CharSequence;ILjava/lang/CharSequence;IILio/netty/util/AsciiString$CharEqualityComparator;)Z c1 c2 csStart charEqualityComparator csIndex csEnd stringIndex 7(Ljava/lang/CharSequence;ZILjava/lang/CharSequence;II)Z (ZILjava/lang/String;II)ZR?
?R?
? HLio/netty/util/AsciiString$GeneralCaseInsensitiveCharEqualityComparator;c? ???
? regionMatchesAscii indexOfIgnoreCase 4(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)IR?
? searchStr startPos searchStrLen endLimit indexOfIgnoreCaseAscii??
? (Ljava/lang/CharSequence;CI)I2;
?2?
?
searchChar sz (C)C??
? isUpperCase? ?
? (C)Z??
? c isLowerCase? ?
? (II)Ljava/lang/CharSequence; (Ljava/lang/Object;)I73
?
access$000 x0 x1
? / 0 ?
? 2 0 ?
ConstantValue Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable K(Ljava/util/Collection;Ljava/lang/CharSequence;)Z c(Ljava/util/Collection;Ljava/util/Collection;)Z
SourceFile InnerClasses 1
! " # ? $ % &