![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.primitives.ImmutableLongArray.class Maven / Gradle / Ivy
???? 4
/com/google/common/primitives/ImmutableLongArray ([JII)V
EMPTY 1Lcom/google/common/primitives/ImmutableLongArray;
start I array [J
([J)V java/lang/Integer??? /the total number of elements must fit in an int
$com/google/common/base/Preconditions
checkArgument (ZLjava/lang/Object;)V
" # $ % & java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V
( ) * + , java/util/Arrays copyOf ([JI)[J . / 0 1 2 java/util/Collection isEmpty ()Z
4 5 6 7 8 "com/google/common/primitives/Longs toArray (Ljava/util/Collection;)[J
: + ; I(Ljava/util/Collection;)Lcom/google/common/primitives/ImmutableLongArray;
= > ? builder ;()Lcom/google/common/primitives/ImmutableLongArray$Builder;
A B C D E 7com/google/common/primitives/ImmutableLongArray$Builder addAll O(Ljava/lang/Iterable;)Lcom/google/common/primitives/ImmutableLongArray$Builder;
A G H I build 3()Lcom/google/common/primitives/ImmutableLongArray; K L M 7 N java/util/stream/LongStream ()[J P Invalid initialCapacity: %s
R S (ZLjava/lang/String;I)V
A U V (I)V
X Y Z [ java/lang/Object ()V ] ^ end
` a b length ()I
d e f checkElementIndex (II)I
h i j indexOf (J)I
l m n checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; p q r s t java/util/function/LongConsumer accept (J)V
( v w x stream #([JII)Ljava/util/stream/LongStream;
( z { | copyOfRange ([JII)[J
~ ? checkPositionIndexes (III)V ? java/util/Spliterator
? ? ? ? ? java/util/Spliterators spliterator %([JIII)Ljava/util/Spliterator$OfLong; ? 6com/google/common/primitives/ImmutableLongArray$AsList
? ? ? g(Lcom/google/common/primitives/ImmutableLongArray;Lcom/google/common/primitives/ImmutableLongArray$1;)V
? ? ? get (I)J
4 ? ? j hashCode
/ ? [] ? java/lang/StringBuilder
? U
? ? ? ? append (C)Ljava/lang/StringBuilder;
? ? ? ? (J)Ljava/lang/StringBuilder; ? ,
? ? ? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? ? toString ()Ljava/lang/String;
? ? 2
isPartialView
L
? ? I trimmed ? java/io/Serializable of Code LineNumberTable 4(J)Lcom/google/common/primitives/ImmutableLongArray; LocalVariableTable e0 J MethodParameters 5(JJ)Lcom/google/common/primitives/ImmutableLongArray; e1 6(JJJ)Lcom/google/common/primitives/ImmutableLongArray; e2 7(JJJJ)Lcom/google/common/primitives/ImmutableLongArray; e3 8(JJJJJ)Lcom/google/common/primitives/ImmutableLongArray; e4 9(JJJJJJ)Lcom/google/common/primitives/ImmutableLongArray; e5 6(J[J)Lcom/google/common/primitives/ImmutableLongArray; first rest
StackMapTable 5([J)Lcom/google/common/primitives/ImmutableLongArray; values Ljava/util/Collection; LocalVariableTypeTable (Ljava/util/Collection; Signature [(Ljava/util/Collection;)Lcom/google/common/primitives/ImmutableLongArray; G(Ljava/lang/Iterable;)Lcom/google/common/primitives/ImmutableLongArray; Ljava/lang/Iterable; &Ljava/lang/Iterable; Y(Ljava/lang/Iterable;)Lcom/google/common/primitives/ImmutableLongArray; P(Ljava/util/stream/LongStream;)Lcom/google/common/primitives/ImmutableLongArray; Ljava/util/stream/LongStream; <(I)Lcom/google/common/primitives/ImmutableLongArray$Builder; initialCapacity this index i target lastIndexOf contains (J)Z forEach $(Ljava/util/function/LongConsumer;)V consumer !Ljava/util/function/LongConsumer; ()Ljava/util/stream/LongStream; subArray 5(II)Lcom/google/common/primitives/ImmutableLongArray;
startIndex endIndex ()Ljava/util/Spliterator$OfLong; asList ()Ljava/util/List; $()Ljava/util/List; equals (Ljava/lang/Object;)Z object Ljava/lang/Object; that "RuntimeVisibleParameterAnnotations Ljavax/annotation/CheckForNull; hash Ljava/lang/StringBuilder; writeReplace ()Ljava/lang/Object; readResolve
access$000 5(Lcom/google/common/primitives/ImmutableLongArray;)[J x0
access$100 4(Lcom/google/common/primitives/ImmutableLongArray;)I
access$200 :([JIILcom/google/common/primitives/ImmutableLongArray$1;)V x1 x2 x3 3Lcom/google/common/primitives/ImmutableLongArray$1;
SourceFile ImmutableLongArray.java RuntimeVisibleAnnotations -Lcom/google/errorprone/annotations/Immutable; >Lcom/google/common/primitives/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible; InnerClasses Builder java/util/Spliterator$OfLong OfLong AsList 1com/google/common/primitives/ImmutableLongArray$1 1 X ?
?
^ ( ? I ? ? ? ? ^ ? ? ? 9 ? Y?YP? ? ? c ? ? ? ? ? ? ? ? G ? Y?YPY P? ? ? h ? ? ? ? ? ? ? ? ? ? ? V ? Y?YPY PYP? ? ? m ? ? ? ? ? ? ? ?
? ? ? ? ? ? e ? Y?YPY PYPYP? ? ? r ? * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? t
"? Y?YPY PYPYPYP? ? ? w ? 4 " ? ? " ? ? " ? ? " ? ? " ? ? ? ? ? ? ? ? ? ? ? ? (? Y?YPY PYPYPYPY
P? ? ? | ? > ( ? ? ( ? ? ( ? ? ( ? ? ( ? ? ( ? ?
? ? ? ? ? ? ? ? ? ? ? ? .,?? ? ? ,?`?N-P,-,?? !? Y-? ? ? ? ? ? ? % ? ? . ? ? . ? ? @ ? ? ? + ? ? \ *?? ? ? ? Y**?? '? ? ? ? ? ? ? ? ? ? L ? ? + ; ? d *? - ? ? ? ? Y*? 3? ? ? ? ? ? ? ? ? ? ? J ? ? ? ? + ? ? g *? .? *? .? 9?? <*? @? F? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? + ? ? e *? J L+?? ? ? ? Y+? ? ?
? ? ? w ? ? ? ?G ? w > ? ? Q ? ? O? Q? AY? T? ?
? ? ? ? ? @ ? ? > ? ? "
? AY
? T? ? ? ? A *++?? ? ?
c d ? ?
? ? l *? W*+? *? *? \? ? f g h i j ? * ?
^ ?
^ a b ? 4
*? \*? d? ? n ?
?
1 2 ? F *? \*? ? ? ? ? s ? ?
? @ ? ? ? M *? _? cW*? *? `/? ?
} ~ ? ?
? ? ? i j ? ? '*? >*? \? *? /??
*? d?????? ? ?
? ? ? %? ? ? ' ?
' ? ? ?
? ? ? ? ? j ? ? )*? \d>*? ? *? /??
*? d??????? ? ? ? ? !? '? ? ? ) ?
) ? ? ?
? ? ? ? ? ? ? M *? g? ? ? ? ? ? ?
? ? ? @ ? ? ? ? ? ? %+? kW*? =*? \? +*? /? o ???? ? ? ? ? ? $? ?
? % ?
% ? ? ? ?
? ? ? w ? ? : *? *? *? \? u? ? ? ? ?
7 N ? : *? *? *? \? y? ? ? ? ?
? ? ? ? ,*? _? }? ? ? ? Y*? *? `*? `? ? ? ? ? ? ? +? ? , ?
, ? , ? ? V ? ? ? ? ? ? = *? *? *? \? ?? ? ? ? ?
? ? ? 4
? ?Y*? ?? ? ? ?
?
? ? ? ? ? ? D+*? ?+? ? ?+? M*? _,? _? ?>*? _? *? ?,? ??? ?????? ? 2 : ; = > @ A B "D ,E :F <D BI ? * $ ? D ?
D ? ? / ?
? ? ? ? ? ? ? ? ? b ? ? (<*? =*? \? h<*? /? ?`???? ? O P Q R P &T ? ? ( ?
&