org.apache.commons.lang3.text.StrBuilder.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2I
?
? ?
e?
? ? ?
e? ??
?
?
??
?
? ??
??
??
??
?
?
??? ??
??
?
??
??
??
?
? ?
?
e???
e?
?
?
?
?
?
$?
$?
"?
"?
?
"??
"?
"?
"??
e?
e?
e?
e?
?
?
?
?
?
?
?
?
?
?
?
?
?
???????
??
?
?
?
??
?
?
?
??
?
?
?
?
??
?
e
e
l
n
p
r
"
$
?
$?
"?
StrBuilderWriter InnerClasses StrBuilderReader StrBuilderTokenizer CAPACITY I
ConstantValue serialVersionUID Jiޥ??~K buffer [C size newLine Ljava/lang/String; nullText ()V Code LineNumberTable LocalVariableTable this *Lorg/apache/commons/lang3/text/StrBuilder; (I)V initialCapacity
StackMapTable? (Ljava/lang/String;)V str getNewLineText ()Ljava/lang/String; setNewLineText >(Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; getNullText setNullText length ()I setLength -(I)Lorg/apache/commons/lang3/text/StrBuilder; i oldEnd newEnd capacity ensureCapacity old minimizeCapacity ,()Lorg/apache/commons/lang3/text/StrBuilder; isEmpty ()Z clear charAt (I)C index setCharAt .(IC)Lorg/apache/commons/lang3/text/StrBuilder; ch C deleteCharAt toCharArray ()[C chars (II)[C
startIndex endIndex len getChars ([C)[C destination (II[CI)V destinationIndex readFrom (Ljava/lang/Readable;)I r Ljava/io/Reader; read cb Ljava/nio/CharBuffer; remaining buf readable Ljava/lang/Readable; oldSize??
Exceptions
appendNewLine
appendNull append >(Ljava/lang/Object;)Lorg/apache/commons/lang3/text/StrBuilder; obj Ljava/lang/Object; D(Ljava/lang/CharSequence;)Lorg/apache/commons/lang3/text/StrBuilder; seq Ljava/lang/CharSequence; F(Ljava/lang/CharSequence;II)Lorg/apache/commons/lang3/text/StrBuilder; strLen @(Ljava/lang/String;II)Lorg/apache/commons/lang3/text/StrBuilder; Q(Ljava/lang/String;[Ljava/lang/Object;)Lorg/apache/commons/lang3/text/StrBuilder; format objs [Ljava/lang/Object; A(Ljava/nio/CharBuffer;)Lorg/apache/commons/lang3/text/StrBuilder; C(Ljava/nio/CharBuffer;II)Lorg/apache/commons/lang3/text/StrBuilder; totalLength D(Ljava/lang/StringBuffer;)Lorg/apache/commons/lang3/text/StrBuilder; Ljava/lang/StringBuffer; F(Ljava/lang/StringBuffer;II)Lorg/apache/commons/lang3/text/StrBuilder; E(Ljava/lang/StringBuilder;)Lorg/apache/commons/lang3/text/StrBuilder; Ljava/lang/StringBuilder; G(Ljava/lang/StringBuilder;II)Lorg/apache/commons/lang3/text/StrBuilder; V(Lorg/apache/commons/lang3/text/StrBuilder;)Lorg/apache/commons/lang3/text/StrBuilder; X(Lorg/apache/commons/lang3/text/StrBuilder;II)Lorg/apache/commons/lang3/text/StrBuilder; .([C)Lorg/apache/commons/lang3/text/StrBuilder; 0([CII)Lorg/apache/commons/lang3/text/StrBuilder; -(Z)Lorg/apache/commons/lang3/text/StrBuilder; value Z -(C)Lorg/apache/commons/lang3/text/StrBuilder; -(J)Lorg/apache/commons/lang3/text/StrBuilder; -(F)Lorg/apache/commons/lang3/text/StrBuilder; F -(D)Lorg/apache/commons/lang3/text/StrBuilder; D appendln appendAll ?([Ljava/lang/Object;)Lorg/apache/commons/lang3/text/StrBuilder; element arr$ len$ i$ array LocalVariableTypeTable [TT; ? Signature F([TT;)Lorg/apache/commons/lang3/text/StrBuilder; @(Ljava/lang/Iterable;)Lorg/apache/commons/lang3/text/StrBuilder; o Ljava/util/Iterator; iterable Ljava/lang/Iterable; Ljava/lang/Iterable<*>; C(Ljava/lang/Iterable<*>;)Lorg/apache/commons/lang3/text/StrBuilder; @(Ljava/util/Iterator;)Lorg/apache/commons/lang3/text/StrBuilder; it Ljava/util/Iterator<*>; C(Ljava/util/Iterator<*>;)Lorg/apache/commons/lang3/text/StrBuilder; appendWithSeparators Q([Ljava/lang/Object;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; sep separator R(Ljava/lang/Iterable;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; U(Ljava/lang/Iterable<*>;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; R(Ljava/util/Iterator;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; U(Ljava/util/Iterator<*>;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; appendSeparator P(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; standard defaultIfEmpty .(CC)Lorg/apache/commons/lang3/text/StrBuilder; ?(Ljava/lang/String;I)Lorg/apache/commons/lang3/text/StrBuilder; loopIndex .(CI)Lorg/apache/commons/lang3/text/StrBuilder;
appendPadding padChar appendFixedWidthPadLeft @(Ljava/lang/Object;IC)Lorg/apache/commons/lang3/text/StrBuilder; padLen width /(IIC)Lorg/apache/commons/lang3/text/StrBuilder; appendFixedWidthPadRight insert ?(ILjava/lang/Object;)Lorg/apache/commons/lang3/text/StrBuilder; ?(ILjava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; newSize /(I[C)Lorg/apache/commons/lang3/text/StrBuilder; 1(I[CII)Lorg/apache/commons/lang3/text/StrBuilder; offset .(IZ)Lorg/apache/commons/lang3/text/StrBuilder; .(II)Lorg/apache/commons/lang3/text/StrBuilder; .(IJ)Lorg/apache/commons/lang3/text/StrBuilder; .(IF)Lorg/apache/commons/lang3/text/StrBuilder; .(ID)Lorg/apache/commons/lang3/text/StrBuilder;
deleteImpl (III)V delete deleteAll start deleteFirst V(Lorg/apache/commons/lang3/text/StrMatcher;)Lorg/apache/commons/lang3/text/StrBuilder; matcher *Lorg/apache/commons/lang3/text/StrMatcher; replaceImpl (IIILjava/lang/String;I)V removeLen insertStr insertLen replace @(IILjava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder;
replaceStr
replaceAll search replaceFirst
replaceLen searchStr searchLen h(Lorg/apache/commons/lang3/text/StrMatcher;Ljava/lang/String;)Lorg/apache/commons/lang3/text/StrBuilder; k(Lorg/apache/commons/lang3/text/StrMatcher;Ljava/lang/String;III)Lorg/apache/commons/lang3/text/StrBuilder; replaceCount from to ? reverse swap leftIdx rightIdx half trim pos
startsWith (Ljava/lang/String;)Z endsWith subSequence (II)Ljava/lang/CharSequence; substring (I)Ljava/lang/String; (II)Ljava/lang/String;
leftString rightString midString contains (C)Z thisBuf -(Lorg/apache/commons/lang3/text/StrMatcher;)Z indexOf (C)I (CI)I (Ljava/lang/String;)I (Ljava/lang/String;I)I j -(Lorg/apache/commons/lang3/text/StrMatcher;)I .(Lorg/apache/commons/lang3/text/StrMatcher;I)I lastIndexOf asTokenizer .()Lorg/apache/commons/lang3/text/StrTokenizer; asReader ()Ljava/io/Reader; asWriter ()Ljava/io/Writer; appendTo (Ljava/lang/Appendable;)V
appendable Ljava/lang/Appendable; equalsIgnoreCase -(Lorg/apache/commons/lang3/text/StrBuilder;)Z c1 c2 other otherBuf equals (Ljava/lang/Object;)Z hashCode hash toString toStringBuffer ()Ljava/lang/StringBuffer; toStringBuilder ()Ljava/lang/StringBuilder; build
validateRange (II)I
validateIndex (C)Ljava/lang/Appendable; x0 2(Ljava/lang/CharSequence;II)Ljava/lang/Appendable; x1 x2 0(Ljava/lang/CharSequence;)Ljava/lang/Appendable; ()Ljava/lang/Object; ?Ljava/lang/Object;Ljava/lang/CharSequence;Ljava/lang/Appendable;Ljava/io/Serializable;Lorg/apache/commons/lang3/builder/Builder;
SourceFile StrBuilder.java ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? )java/lang/StringIndexOutOfBoundsException ? ? !?@"# ??? end < start ? ? java/io/Reader ?$ java/nio/CharBuffer ? ?%&'&( ?)*+ ? ? ? java/lang/CharSequence ? ?? ? (org/apache/commons/lang3/text/StrBuilder ? ? java/lang/StringBuilder ? ? java/lang/StringBuffer ? ? ? ? ? ? ? ? startIndex must be valid length must be valid ?,- ? ?. ?/ ? Invalid startIndex: ?0 ?1 Invalid length: 2i232425 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6789 ?:?;?<#$ ? ? ? ? -.2.35? ? Invalid offset: rvMWHIHW=>?A; ? ?hj java/lang/String ?@ryrtztzvzy