
com.google.common.primitives.Doubles.class Maven / Gradle / Ivy
???? 4M 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 N O java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V Q R S T U 4com/google/common/primitives/Doubles$DoubleConverter INSTANCE "Lcom/google/common/base/Converter; W Invalid minLength: %s
' Y 0 Z (ZLjava/lang/String;I)V \ Invalid padding: %s
^ _ ` a b java/util/Arrays copyOf ([DI)[D
' d * e &(Ljava/lang/Object;)Ljava/lang/Object; g i java/lang/StringBuilder
h k l (I)V
h n o p append (D)Ljava/lang/StringBuilder;
h r o s -(Ljava/lang/String;)Ljava/lang/StringBuilder;
h u v w toString ()Ljava/lang/String; y z { T | >com/google/common/primitives/Doubles$LexicographicalComparator @Lcom/google/common/primitives/Doubles$LexicographicalComparator;
~ ? sortDescending ([DII)V
' ? ? ? checkPositionIndexes (III)V
^ ? ? ? 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+#)
h ? (?:[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 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 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;>;) /(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 ? ? ? ? ? ? ? ? ? / *? ? ? 5 ? ? ? ? ? 2 &? ? ? ? J ? ? ? ? ? ? : &(? ? ? _ ? ? ? ? ? ? ? ? ? ? ? K &?? & "?? ? ? ? k ? ? ? ? @ ? ? ? ? ? ? '*N-?66? -19'?? ?????? ? w x y w % | ? ? ? ' % ? ' - ? ? ? ?? ? % -
? ? = *'*?? ? ? ? ? % ? - ? ? % -
? ? 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 : ? ? Z<*M,?>6? ,2:?`????M>*:?66? !2:,?? J?`>????,? ? . " & ( A L R X ? > % ? A % ? Z X ? &