![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.primitives.Doubles.class Maven / Gradle / Ivy
???? 4Z java/lang/Double java/lang/Byte
$com/google/common/primitives/Doubles lastIndexOf ([DDII)I
indexOf
1com/google/common/primitives/DoublesMethodsForWeb ()V
valueOf (D)Ljava/lang/Double;
hashCode ()I
compare (DD)I?? ? % array
' ( ) * + $com/google/common/base/Preconditions checkNotNull 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; - target
' / 0 1
checkArgument (Z)V
3 4 5 6 7 java/lang/Math min (DD)D
3 9 : 7 max < "java/lang/IllegalArgumentException > /min (%s) must be less than or equal to max (%s) @ java/lang/Object
B C D E F com/google/common/base/Strings
lenientFormat 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
; H I (Ljava/lang/String;)V
K L M checkNoOverflow (J)I
O P Q R S java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V U Bthe total number of elements (%s) in the arrays must fit in an int
' W 0 X (ZLjava/lang/String;J)V Z [ \ ] ^ 4com/google/common/primitives/Doubles$DoubleConverter INSTANCE "Lcom/google/common/base/Converter; ` Invalid minLength: %s
' b 0 c (ZLjava/lang/String;I)V e Invalid padding: %s
g h i j k java/util/Arrays copyOf ([DI)[D
' m * n &(Ljava/lang/Object;)Ljava/lang/Object; p r java/lang/StringBuilder
q t u (I)V
q w x y append (D)Ljava/lang/StringBuilder;
q { x | -(Ljava/lang/String;)Ljava/lang/StringBuilder;
q ~ ? toString ()Ljava/lang/String; ? ? ? ] ? >com/google/common/primitives/Doubles$LexicographicalComparator @Lcom/google/common/primitives/Doubles$LexicographicalComparator;
? ? ? sortDescending ([DII)V
' ? ? ? checkPositionIndexes (III)V
g ? ? ? sort
? ? ? reverse
? ? ? rotate ([DIII)V ? 6com/google/common/primitives/Doubles$DoubleArrayAsList
? ? ? ?
toDoubleArray ()[D ? ? ? ? ? java/util/Collection toArray ()[Ljava/lang/Object; ? java/lang/Number
? ? ? ? doubleValue ()D
? ? ? ? ? java/util/Collections emptyList ()Ljava/util/List;
? ? ? ([D)V ? (?:\d+#(?:\.\d*#)?|\.\d+#)
q ? (?:[eE][+-]?\d+#)?[fFdD]? ? 5(?:[0-9a-fA-F]+#(?:\.[0-9a-fA-F]*#)?|\.[0-9a-fA-F]+#) ? 0[xX] ? [pP][+-]?\d+#[fFdD]? ? [+-]?(?:NaN|Infinity| ? | ? ) ? # ? +
? ? ? ? ? java/lang/String replace D(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
? ? ? ? ? java/util/regex/Pattern compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; ? ? ? FLOATING_POINT_PATTERN Ljava/util/regex/Pattern;
? ? ? ? matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
? ? ? ? ? java/util/regex/Matcher matches ()Z
? ? ? parseDouble (Ljava/lang/String;)D ? java/lang/NumberFormatException
? ? ? fpPattern ()Ljava/util/regex/Pattern; BYTES I
ConstantValue RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; Code LineNumberTable LocalVariableTable this &Lcom/google/common/primitives/Doubles; (D)I value D MethodParameters a b ,Lcom/google/errorprone/annotations/InlineMe; replacement Double.compare(a, b) isFinite (D)Z
StackMapTable contains ([DD)Z [D ([DD)I i start end ([D[D)I j ([D)D XAvailable in GWT! Annotation is to avoid conflict with GWT specialization of base class. constrainToRange (DDD)D concat ([[D)[D arrays [[D length J result pos stringConverter $()Lcom/google/common/base/Converter; Signature J()Lcom/google/common/base/Converter; ensureCapacity ([DII)[D minLength padding join ((Ljava/lang/String;[D)Ljava/lang/String; separator Ljava/lang/String; builder Ljava/lang/StringBuilder; lexicographicalComparator ()Ljava/util/Comparator; ()Ljava/util/Comparator<[D>; fromIndex toIndex tmp ([DI)V distance m
newFirstIndex (Ljava/util/Collection;)[D
collection Ljava/util/Collection;
boxedArray [Ljava/lang/Object; len LocalVariableTypeTable +Ljava/util/Collection<+Ljava/lang/Number;>;6 /(Ljava/util/Collection<+Ljava/lang/Number;>;)[D asList ([D)Ljava/util/List; backingArray (([D)Ljava/util/List; decimal completeDec hex completeHex tryParse &(Ljava/lang/String;)Ljava/lang/Double; string RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull;
access$000 x0 x1 x2 x3
access$100
SourceFile Doubles.java >Lcom/google/common/primitives/ElementTypesAreNonnullByDefault; -Lcom/google/common/annotations/GwtCompatible; emulated InnerClasses DoubleConverter LexicographicalComparator DoubleArrayAsList 1 ? ? ? ? ? ? ? ? ? / *? ? ? 6 ? ? ? ? ? 2 &? ? ? ? K ? ? ? ? ? ? : &(? ? ? a ? ? ? ? ? ? ? ? ? ? ?s ? ? K &?? & "?? ? ? ? m ? ? ? @ ? ? ? ? '*N-?66? -19'?? ?????? ? y z { y % ~ ? ? ? ' % ' - ? ? ? ? % -
? = *'*?? ? ? ? ? % - ? ? % -
? ? 6? *1'?? ?????? ? ?
? ? ? ? ? 4 ? % - ? ?
?
? ? ? % -
? ? I*$? &W+,? &W+?? ?=*?+?d`? (>+?? *`1+1?? ? ?????????? ? 2 ? ? ? ? ? " ? * ? 6 ? 9 ? ? ? A ? G ? ? * $ ? 0 ? I % I - ? ? ? ? ? % - ? = *'*?? ? ? ? ? % - ? ? % -
? ? d6? *1'?? ??????? ? ? ? ? ? ? ? 4 ? % - ? ?
?
? ? ? % -
? 6
? ? )*?? ? ? .*1H>*?? '*1? 2H????'? ? ?
? ? ? ! ? ' ? ? ? ) % 6 ?
@? ? ? % ? ? ?s ? :
? ? )*?? ? ? .*1H>*?? '*1? 8H????'? ? ?
? ? ? ! ? ' ? ? ? ) % : ?
@? ? ? % ? ? ?s ? ? 2(?? &(? 8? 2?? ;Y=? ?Y(? SY? S? A? G? ? ? 2 ? ? 2 6 ? 2 : ? ?
? 6 : ? ? d @*N-?66? -2:??a@????? J?N6*:?66? $2:-?? N?`6????-? ? . % , / H! T" \ b$ ? > % H % d b , 8 / 5 ? , ? ? ? ? ' ?
L M ? O ???? ? T? V?? ?
( , ? @ ? ? ? Y? ? P ? ? 0? ? _? a? ? d? a*??
*`? f? *? ? a b c ? 0 % 0 ? 0! ?
@
@@ ?
% ! ?"# ? ? A*? lW+?? o?? qY+?h? sM,+1? vW>+?? ,*? z+1? vW????,? }? ? &