com.google.common.base.Strings.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!
???? 2 ?
] ^
_
`
a b c
d
e
f
g h i
j k
a l m
] n
o
p
q
r s t
u v `
w x v y
z v { v g
| }
| ~ ()V Code LineNumberTable LocalVariableTable this Lcom/google/common/base/Strings; nullToEmpty &(Ljava/lang/String;)Ljava/lang/String; string Ljava/lang/String;
StackMapTable t "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; emptyToNull RuntimeVisibleAnnotations
isNullOrEmpty (Ljava/lang/String;)Z padStart ((Ljava/lang/String;IC)Ljava/lang/String; i I minLength padChar C sb Ljava/lang/StringBuilder; c padEnd repeat '(Ljava/lang/String;I)Ljava/lang/String; count len longSize J size array [C n G commonPrefix D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; a Ljava/lang/CharSequence; b maxPrefixLength p commonSuffix maxSuffixLength s validSurrogatePairAt (Ljava/lang/CharSequence;I)Z index RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting;
SourceFile Strings.java #Ljavax/annotation/CheckReturnValue; -Lcom/google/common/annotations/GwtCompatible; ! " 2 3 ? ? ? ? ? java/lang/StringBuilder ! ? ? ? ? ? ? ? invalid count: %s java/lang/Object ? ? ? ? ? (java/lang/ArrayIndexOutOfBoundsException Required array size too large: ? ? ! ? ? ? ? ? ? java/lang/String ! ? ? ? ? ? ? ? T U ? ? ? ? ? ? ? com/google/common/base/Strings length ()I $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; (I)V append (C)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; java/lang/Integer valueOf (I)Ljava/lang/Integer;
checkArgument )(ZLjava/lang/String;[Ljava/lang/Object;)V (J)Ljava/lang/StringBuilder; (Ljava/lang/String;)V getChars (II[CI)V java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ([C)V java/lang/CharSequence java/lang/Math min (II)I charAt (I)C subSequence (II)Ljava/lang/CharSequence; java/lang/Character isHighSurrogate (C)Z isLowSurrogate 1
! " # / *? ? $ ( % &