class com.google.common.collect.CompactLinkedHashSet<E> extends com.google.common.collect.CompactHashSet<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.CompactLinkedHashSet
super_class: com.google.common.collect.CompactHashSet
{
private static final int ENDPOINT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -2
private transient int[] predecessor;
descriptor: [I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
private transient int[] successor;
descriptor: [I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
private transient int firstEntry;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient int lastEntry;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public static <E> com.google.common.collect.CompactLinkedHashSet<E> create();
descriptor: ()Lcom/google/common/collect/CompactLinkedHashSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.common.collect.CompactLinkedHashSet
dup
invokespecial com.google.common.collect.CompactLinkedHashSet.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <E:Ljava/lang/Object;>()Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
public static <E> com.google.common.collect.CompactLinkedHashSet<E> create(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Lcom/google/common/collect/CompactLinkedHashSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.size:()I
invokestatic com.google.common.collect.CompactLinkedHashSet.createWithExpectedSize:(I)Lcom/google/common/collect/CompactLinkedHashSet;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.collect.CompactLinkedHashSet.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 collection Ljava/util/Collection<+TE;>;
1 3 1 set Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Collection<+TE;>;)Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
MethodParameters:
Name Flags
collection
public static <E> com.google.common.collect.CompactLinkedHashSet<E> create(E[]);
descriptor: ([Ljava/lang/Object;)Lcom/google/common/collect/CompactLinkedHashSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
arraylength
invokestatic com.google.common.collect.CompactLinkedHashSet.createWithExpectedSize:(I)Lcom/google/common/collect/CompactLinkedHashSet;
astore 1
start local 1 1: aload 1
aload 0
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 elements [Ljava/lang/Object;
1 3 1 set Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
Signature: <E:Ljava/lang/Object;>([TE;)Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
MethodParameters:
Name Flags
elements
public static <E> com.google.common.collect.CompactLinkedHashSet<E> createWithExpectedSize(int);
descriptor: (I)Lcom/google/common/collect/CompactLinkedHashSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.CompactLinkedHashSet
dup
iload 0
invokespecial com.google.common.collect.CompactLinkedHashSet.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 expectedSize I
Signature: <E:Ljava/lang/Object;>(I)Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
MethodParameters:
Name Flags
expectedSize
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.collect.CompactHashSet.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial com.google.common.collect.CompactHashSet.<init>:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 2 1 expectedSize I
MethodParameters:
Name Flags
expectedSize
void init(int, float);
descriptor: (IF)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
fload 2
invokespecial com.google.common.collect.CompactHashSet.init:(IF)V
1: aload 0
iload 1
newarray 10
putfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
2: aload 0
iload 1
newarray 10
putfield com.google.common.collect.CompactLinkedHashSet.successor:[I
3: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
4: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
5: aload 0
bipush -2
putfield com.google.common.collect.CompactLinkedHashSet.firstEntry:I
6: aload 0
bipush -2
putfield com.google.common.collect.CompactLinkedHashSet.lastEntry:I
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 8 1 expectedSize I
0 8 2 loadFactor F
MethodParameters:
Name Flags
expectedSize
loadFactor
private void succeeds(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
bipush -2
if_icmpne 3
1: aload 0
iload 2
putfield com.google.common.collect.CompactLinkedHashSet.firstEntry:I
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iload 1
iload 2
iastore
4: StackMap locals:
StackMap stack:
iload 2
bipush -2
if_icmpne 7
5: aload 0
iload 1
putfield com.google.common.collect.CompactLinkedHashSet.lastEntry:I
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
iload 2
iload 1
iastore
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 9 1 pred I
0 9 2 succ I
MethodParameters:
Name Flags
pred
succ
void insertEntry(int, E, );
descriptor: (ILjava/lang/Object;I)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
iload 3
invokespecial com.google.common.collect.CompactHashSet.insertEntry:(ILjava/lang/Object;I)V
1: aload 0
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.lastEntry:I
iload 1
invokevirtual com.google.common.collect.CompactLinkedHashSet.succeeds:(II)V
2: aload 0
iload 1
bipush -2
invokevirtual com.google.common.collect.CompactLinkedHashSet.succeeds:(II)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 4 1 entryIndex I
0 4 2 object TE;
0 4 3 hash I
Signature: (ITE;I)V
MethodParameters:
Name Flags
entryIndex
object
hash
void moveEntry(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.CompactLinkedHashSet.size:()I
iconst_1
isub
istore 2
start local 2 1: aload 0
iload 1
invokespecial com.google.common.collect.CompactHashSet.moveEntry:(I)V
2: aload 0
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
iload 1
iaload
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iload 1
iaload
invokevirtual com.google.common.collect.CompactLinkedHashSet.succeeds:(II)V
3: iload 2
iload 1
if_icmpeq 6
4: aload 0
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
iload 2
iaload
iload 1
invokevirtual com.google.common.collect.CompactLinkedHashSet.succeeds:(II)V
5: aload 0
iload 1
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iload 2
iaload
invokevirtual com.google.common.collect.CompactLinkedHashSet.succeeds:(II)V
6: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
iload 2
iconst_m1
iastore
7: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iload 2
iconst_m1
iastore
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 9 1 dstIndex I
1 9 2 srcIndex I
MethodParameters:
Name Flags
dstIndex
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.google.common.collect.CompactHashSet.clear:()V
1: aload 0
bipush -2
putfield com.google.common.collect.CompactLinkedHashSet.firstEntry:I
2: aload 0
bipush -2
putfield com.google.common.collect.CompactLinkedHashSet.lastEntry:I
3: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
4: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
void resizeEntries(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial com.google.common.collect.CompactHashSet.resizeEntries:(I)V
1: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
arraylength
istore 2
start local 2 2: aload 0
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
iload 1
invokestatic java.util.Arrays.copyOf:([II)[I
putfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
3: aload 0
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iload 1
invokestatic java.util.Arrays.copyOf:([II)[I
putfield com.google.common.collect.CompactLinkedHashSet.successor:[I
4: iload 2
iload 1
if_icmpge 7
5: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.predecessor:[I
iload 2
iload 1
iconst_m1
invokestatic java.util.Arrays.fill:([IIII)V
6: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iload 2
iload 1
iconst_m1
invokestatic java.util.Arrays.fill:([IIII)V
7: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 8 1 newCapacity I
2 8 2 oldCapacity I
MethodParameters:
Name Flags
newCapacity
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.collect.ObjectArrays.toArrayImpl:(Ljava/util/Collection;)[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.collect.ObjectArrays.toArrayImpl:(Ljava/util/Collection;[Ljava/lang/Object;)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 1 1 a [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
a
int firstEntryIndex();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.firstEntry:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
int adjustAfterRemove(int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
invokevirtual com.google.common.collect.CompactLinkedHashSet.size:()I
if_icmpne 1
iload 2
goto 2
StackMap locals:
StackMap stack:
1: iload 1
StackMap locals:
StackMap stack: int
2: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 3 1 indexBeforeRemove I
0 3 2 indexRemoved I
MethodParameters:
Name Flags
indexBeforeRemove
indexRemoved
int getSuccessor(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 1 1 entryIndex I
MethodParameters:
Name Flags
entryIndex
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 17
invokestatic java.util.Spliterators.spliterator:(Ljava/util/Collection;I)Ljava/util/Spliterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
public void forEach(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.firstEntry:I
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.google.common.collect.CompactLinkedHashSet.elements:[Ljava/lang/Object;
iload 2
aaload
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
4: aload 0
getfield com.google.common.collect.CompactLinkedHashSet.successor:[I
iload 2
iaload
istore 2
StackMap locals:
StackMap stack:
5: iload 2
bipush -2
if_icmpne 3
end local 2 6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/CompactLinkedHashSet<TE;>;
0 7 1 action Ljava/util/function/Consumer<-TE;>;
2 6 2 i I
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
}
Signature: <E:Ljava/lang/Object;>Lcom/google/common/collect/CompactHashSet<TE;>;
SourceFile: "CompactLinkedHashSet.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()