com.google.common.collect.CompactHashSet.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-epl Show documentation
Show all versions of plantuml-epl Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
???? 4? (com/google/common/collect/CompactHashing
(com/google/common/collect/CompactHashSet element (I)Ljava/lang/Object;
metadata I
()V java/util/Collection size ()I
createWithExpectedSize -(I)Lcom/google/common/collect/CompactHashSet;
addAll (Ljava/util/Collection;)Z
! " # java/util/Collections ,(Ljava/util/Collection;[Ljava/lang/Object;)Z
% & (I)V
( ) java/util/AbstractSet
+ , & init . Expected size must be >= 0
0 1 2 3 4 $com/google/common/base/Preconditions
checkArgument (ZLjava/lang/Object;)V????
7 8 9 : ; !com/google/common/primitives/Ints constrainToRange (III)I = > ? table Ljava/lang/Object;
A B C needsAllocArrays ()Z E Arrays already allocated
0 G H 4
checkState
J K L tableSize (I)I
N O createTable
Q R & setHashTableMask T U V entries [I X java/lang/Object Z [ \ elements [Ljava/lang/Object; ^
java/util/Set ` java/util/LinkedHashSet
_ b c (IF)V
e f
hashTableMask
h i j #createHashFloodingResistantDelegate (I)Ljava/util/Set;
l m firstEntryIndex ] o p q add (Ljava/lang/Object;)Z
s t L getSuccessor
v w incrementModCount
y z { delegateOrNull ()Ljava/util/Set; } java/lang/Integer
| ? L numberOfLeadingZeros
? ? ; maskCombine
? ? allocArrays
? ? ? requireEntries ()[I
? ? ? requireElements ()[Ljava/lang/Object; ?
? ? ? ? ? !com/google/common/collect/Hashing smearedHash (Ljava/lang/Object;)I
? ? ? requireTable ()Ljava/lang/Object;
? ? ? tableGet (Ljava/lang/Object;I)I
? ? L newCapacity
? ? ? resizeTable (IIII)I
? ? ? tableSet (Ljava/lang/Object;II)V
? ? ?
getHashPrefix (II)I
? ? ? ? ? com/google/common/base/Objects equal '(Ljava/lang/Object;Ljava/lang/Object;)Z
? ? ? getNext
? ? { ,convertToHashFloodingResistantImplementation
? ? &
resizeMeMaybe
? ? ? insertEntry (ILjava/lang/Object;II)V
? ? ? setEntry (II)V
? ? ?
setElement (ILjava/lang/Object;)V
? ? ? ? ? java/lang/Math max
? ? ? ? min
? ? &
resizeEntries
? ? ? ? ? java/util/Arrays copyOf ([II)[I
? ? ? ? )([Ljava/lang/Object;I)[Ljava/lang/Object; ] ? ? q contains
? ? L entry ] ? ? q remove
? ? ? b(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;[I[Ljava/lang/Object;[Ljava/lang/Object;)I
? ? ?
moveLastEntry
? ? C isEmpty ] ? ? ? iterator ()Ljava/util/Iterator; ? *com/google/common/collect/CompactHashSet$1
? ? ? -(Lcom/google/common/collect/CompactHashSet;)V ? java/util/Spliterator
? ? ? ? java/util/Spliterators spliterator -([Ljava/lang/Object;I)Ljava/util/Spliterator; ] ? ()Ljava/util/Spliterator;
? ? /([Ljava/lang/Object;III)Ljava/util/Spliterator;
0
checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; ]
forEach (Ljava/util/function/Consumer;)V java/util/function/Consumer accept (Ljava/lang/Object;)V ] ] ? toArray ] (([Ljava/lang/Object;)[Ljava/lang/Object;
! &com/google/common/collect/ObjectArrays toArrayImpl =([Ljava/lang/Object;II[Ljava/lang/Object;)[Ljava/lang/Object; ] ]$% clear
?'() fill *([Ljava/lang/Object;IILjava/lang/Object;)V
+,
tableClear
?.(/ ([IIII)V
1234 java/io/ObjectOutputStream defaultWriteObject
167 & writeInt
?:;<= C java/util/Iterator hasNext:?@ ? next
1BC writeObject
EFGH java/io/ObjectInputStream defaultReadObject
EJK readIntM java/io/InvalidObjectExceptionO java/lang/StringBuilder
N R Invalid size:
NTUV append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
NXUY (I)Ljava/lang/StringBuilder;
N[\] toString ()Ljava/lang/String;
L_ ` (Ljava/lang/String;)V
Ebc ?
readObject
o
fghi
java/util/Objects requireNonNull V \m java/io/Serializable HASH_FLOODING_FPP D
ConstantValue?PbM??? RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; MAX_HASH_BUCKET_LENGTH RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; create ,()Lcom/google/common/collect/CompactHashSet; Code LineNumberTable Signature G()Lcom/google/common/collect/CompactHashSet; B(Ljava/util/Collection;)Lcom/google/common/collect/CompactHashSet; LocalVariableTable
collection Ljava/util/Collection; set *Lcom/google/common/collect/CompactHashSet; LocalVariableTypeTable Ljava/util/Collection<+TE;>; /Lcom/google/common/collect/CompactHashSet; MethodParameters c(Ljava/util/Collection<+TE;>;)Lcom/google/common/collect/CompactHashSet; ?([Ljava/lang/Object;)Lcom/google/common/collect/CompactHashSet; [TE; K([TE;)Lcom/google/common/collect/CompactHashSet; Ljava/lang/SafeVarargs; expectedSize H(I)Lcom/google/common/collect/CompactHashSet; this
StackMapTable buckets 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; ()Ljava/util/Set; (I)Ljava/util/Set; i newDelegate Ljava/util/Set; Ljava/util/Set; isUsingHashFloodingResistance mask
hashTableBits
entryIndex
hashPrefix bucketLength object delegate
newEntryIndex newSize hash
tableIndex TE; (TE;)Z "RuntimeVisibleParameterAnnotations .Lcom/google/common/collect/ParametricNullness; (ITE;II)V entriesSize oldEntry
newTableIndex newNext oldNext
oldTableIndex oldMask
targetHash targetEntryIndex newTable newMask oldTable index srcNext dstIndex srcIndex adjustAfterRemove indexBeforeRemove indexRemoved ()Ljava/util/Iterator; ()Ljava/util/Spliterator; action Ljava/util/function/Consumer; #Ljava/util/function/Consumer<-TE;>; &(Ljava/util/function/Consumer<-TE;>;)V a [TT; ([TT;)[TT;
trimToSize minimumTableSize (Ljava/io/ObjectOutputStream;)V e stream Ljava/io/ObjectOutputStream;
Exceptions? java/io/IOException 0Lcom/google/common/annotations/J2ktIncompatible; (Ljava/io/ObjectInputStream;)V Ljava/io/ObjectInputStream; elementCount? java/lang/ClassNotFoundException (I)TE; value (ITE;)V
access$000 -(Lcom/google/common/collect/CompactHashSet;)I x0
access$100 ?(Lcom/google/common/collect/CompactHashSet;I)Ljava/lang/Object; x1 HLjava/util/AbstractSet;Ljava/io/Serializable;
SourceFile CompactHashSet.java ;Lcom/google/common/collect/ElementTypesAreNonnullByDefault; /Lcom/google/common/annotations/GwtIncompatible; InnerClasses ( l no p qs t u p v ? > ? w x ? U V w x ? [ \ w x s t y
z ? ? / {| } ? Y?
? ~ V ?y
z {? } j *? ? L+*? W+? ~ b
c d? ??
?? ? ??
?? ? ? ?y
z ?{? } f *?? L+*? W+? ~ p q r? [ \ ?? ? [? ?? ? [ ?w ? y
z } 3 ? Y? $? ~ ?? ? ? ? ?y
z } N
*? '*? *? ~ ? ? ??
?? ?
?? &