com.groupbyinc.flux.common.util.concurrent.AtomicArray.class Maven / Gradle / Ivy
???? 4 r 6com/groupbyinc/flux/common/util/concurrent/AtomicArray (Ljava/lang/Object; java/lang/Object AtomicArray.java array 2Ljava/util/concurrent/atomic/AtomicReferenceArray; 7Ljava/util/concurrent/atomic/AtomicReferenceArray; nonNullList Ljava/util/List; Ljava/util/List; (I)V ()V
0java/util/concurrent/atomic/AtomicReferenceArray
this =Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray; 8Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray; size I length ()I
set (ILjava/lang/Object;)V ! "
#
% i value TE; Ljava/lang/Object; setOnce
compareAndSet ((ILjava/lang/Object;Ljava/lang/Object;)Z , -
. java/lang/IllegalStateException 0 java/lang/StringBuilder 2
3 index [ 5 append -(Ljava/lang/String;)Ljava/lang/StringBuilder; 7 8
3 9 (I)Ljava/lang/StringBuilder; 7 ;
3 < ] has already been set > toString ()Ljava/lang/String; @ A
3 B (Ljava/lang/String;)V
D
1 E get (I)Ljava/lang/Object; G H
I asList ()Ljava/util/List; java/util/Collections M emptyList O L
N P java/util/ArrayList R
S java/util/List U add (Ljava/lang/Object;)Z W X V Y e list toArray (([Ljava/lang/Object;)[Ljava/lang/Object; 4com/groupbyinc/flux/ElasticsearchGenerationException _ :AtomicArrays can only be copied to arrays of the same size a
` E a [TE; [Ljava/lang/Object; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable (ITE;)V (I)TE; ()Ljava/util/List;
([TE;)[TE;
SourceFile ! g B
g
h _ *? *? Y? ? ? i j k % &