com.google.common.collect.ObjectArrays.class Maven / Gradle / Ivy
???? 4 ?
java/lang/Object ()V
java/lang/reflect/Array newInstance &(Ljava/lang/Class;I)Ljava/lang/Object; [Ljava/lang/Object;
"com/google/common/collect/Platform newArray )([Ljava/lang/Object;I)[Ljava/lang/Object;
&com/google/common/collect/ObjectArrays '(Ljava/lang/Class;I)[Ljava/lang/Object;
java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V
" # $ % java/util/Arrays copyOf ' ( ) * + java/util/Collection size ()I
- . / fillArray <(Ljava/lang/Iterable;[Ljava/lang/Object;)[Ljava/lang/Object;
1 2 3 4 5 $com/google/common/base/Preconditions checkPositionIndexes (III)V 7 8 9 : ; java/lang/Iterable iterator ()Ljava/util/Iterator; = > ? @ A java/util/Iterator hasNext ()Z = C D E next ()Ljava/lang/Object;
G H checkElementsNotNull
J K L checkElementNotNull '(Ljava/lang/Object;I)Ljava/lang/Object; N java/lang/NullPointerException P java/lang/StringBuilder
O S at index
O U V W append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
O Y V Z (I)Ljava/lang/StringBuilder;
O \ ] ^ toString ()Ljava/lang/String;
M ` a (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this (Lcom/google/common/collect/ObjectArrays; type Ljava/lang/Class; length I LocalVariableTypeTable Ljava/lang/Class; MethodParameters Signature 3(Ljava/lang/Class;I)[TT; RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; 4Lorg/checkerframework/checker/nullness/qual/NonNull; reference [TT; !([TT;I)[TT; concat L([Ljava/lang/Object;[Ljava/lang/Object;Ljava/lang/Class;)[Ljava/lang/Object; first second result :([TT;[TT;Ljava/lang/Class;)[TT; :(Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object; element Ljava/lang/Object; array TT; #(TT;[TT;)[TT; "RuntimeVisibleParameterAnnotations .Lcom/google/common/collect/ParametricNullness; :([Ljava/lang/Object;Ljava/lang/Object;)[Ljava/lang/Object; #([TT;TT;)[TT; toArrayImpl >(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object; unsoundlyCovariantArray c Ljava/util/Collection; Ljava/util/Collection<*>;
StackMapTable 9(Ljava/util/Collection<*>;[TT;)[TT; =([Ljava/lang/Object;II[Ljava/lang/Object;)[Ljava/lang/Object; src offset len dst 5([Ljava/lang/Object;II[TT;)[TT; +(Ljava/util/Collection;)[Ljava/lang/Object; .(Ljava/util/Collection<*>;)[Ljava/lang/Object; copyAsObjectArray *([Ljava/lang/Object;II)[Ljava/lang/Object; elements Ljava/lang/Iterable; i Ljava/lang/Iterable<*>; ?(Ljava/lang/Iterable<*>;[Ljava/lang/Object;)[Ljava/lang/Object; 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; swap ([Ljava/lang/Object;II)V j temp (([Ljava/lang/Object;)[Ljava/lang/Object; index
SourceFile ObjectArrays.java RuntimeVisibleAnnotations ;Lcom/google/common/collect/ElementTypesAreNonnullByDefault; -Lcom/google/common/annotations/GwtCompatible; emulated 1 b / *? ? c ) d e f b O *? ?
? c 4 d g h i j k g l m g i n o p q r s t b L *? ? c > d u i j k u v m u i n w r
s x y b ? ,*?+?`? N*-*?? +-*?+?? -? c K
L M N d * z { g h
| k * z v { v g l
| v m
z { g n } p q r s t x ~ b ? ++?`? M,*S+,+?? ,? c Z [
\ ] d ? ? | k ? ? v | v m ? n ? r
s ? ? x ? b | **?`? !M,*?+S,? c i j k d ? ? | k ? v ? | v m ? n ? r
s ? ? ? ? b ? '*? & =+?? +? L*+? ,W+?? +N-S+? c " ? ?
? ? ? ? ! ? % ? d * ! ? ' ? ? ' ? * j k ' ? ? ' ? v ? ? r @ ! s m ? ? n ? r
s ? ? b ? 0`*?? 0-?? -? N? -?? -:S*-? -? c " ? ? ? ? ? ! ? &