
com.google.common.base.Strings.class Maven / Gradle / Ivy
The newest version!
???? 2 ?
\ ]
^
_ `
a b
c d
e
f
g
h i
a j k
\ l
m
n
o
p q r
s t c
u v t w
x t y t h
z {
z | } ~ ()V Code LineNumberTable LocalVariableTable this Lcom/google/common/base/Strings; nullToEmpty &(Ljava/lang/String;)Ljava/lang/String; string Ljava/lang/String;
StackMapTable r "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; d 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 -Lcom/google/common/annotations/GwtCompatible; ! " 2 3 ? 3 ? ? ? ? ? java/lang/StringBuilder ! ? ? ? ? ? ? ? invalid count: %s ? ? (java/lang/ArrayIndexOutOfBoundsException Required array size too large: ? ? ! ? ? ? ? ? ? java/lang/String ! ? ? ? ? ? ? ? T U ? ? ? ? ? ? ? com/google/common/base/Strings java/lang/Object com/google/common/base/Platform stringIsNullOrEmpty $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; length ()I (I)V append (C)Ljava/lang/StringBuilder; -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String;
checkArgument (ZLjava/lang/String;I)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
! " # / *? ? $ % &