com.groupbyinc.flux.common.collect.EvictingQueue.class Maven / Gradle / Ivy
???? 4 ? 0com/groupbyinc/flux/common/collect/EvictingQueue >Ljava/lang/Object;Ljava/util/Queue; java/lang/Object java/util/Queue EvictingQueue.java maximumSize I queue Ljava/util/ArrayDeque; Ljava/util/ArrayDeque; (I)V ()V
"java/lang/IllegalArgumentException maximumSize < 0 (Ljava/lang/String;)V
java/util/ArrayDeque
this 7Lcom/groupbyinc/flux/common/collect/EvictingQueue; 2Lcom/groupbyinc/flux/common/collect/EvictingQueue; remainingCapacity ()I size ' &
( add (Ljava/lang/Object;)Z
( remove ()Ljava/lang/Object; - .
/ * +
1 t TT; Ljava/lang/Object; offer
1 poll 8 .
9 element ; .
< peek > .
? isEmpty ()Z A B
C contains E +
F o iterator ()Ljava/util/Iterator; I J
K toArray ()[Ljava/lang/Object; M N
O (([Ljava/lang/Object;)[Ljava/lang/Object; M Q
R a [TT1; [Ljava/lang/Object; - +
W containsAll (Ljava/util/Collection;)Z Y Z
[ c Ljava/util/Collection<*>; Ljava/util/Collection; addAll java/util/Collection a b K java/util/Iterator d hasNext f B e g next i . e j e Ljava/util/Collection<+TT;>; modified Z removeAll p Z
q retainAll s Z
t clear v
w Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable (TT;)Z ()TT; ()Ljava/util/Iterator; #([TT1;)[TT1; (Ljava/util/Collection<*>;)Z (Ljava/util/Collection<+TT;>;)Z
SourceFile !
y
z ? $*? ?
? Y? ?*? *? Y? ? !? { $ " $ $
| $ " # } + , - / 0 # 1 ~
? % &