All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.common.collect.CompactHashSet.class Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
????4?(com/google/common/collect/CompactHashing
(com/google/common/collect/CompactHashSetelement(I)Ljava/lang/Object;	
metadataI
()Vjava/util/Collectionsize()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
01234$com/google/common/base/Preconditions
checkArgument(ZLjava/lang/Object;)V????
789:;!com/google/common/primitives/IntsconstrainToRange(III)I	=>?tableLjava/lang/Object;
ABCneedsAllocArrays()ZEArrays already allocated
0GH4
checkState
JKL	tableSize(I)I
NOcreateTable
QR&setHashTableMask	TUVentries[IXjava/lang/Object	Z[\elements[Ljava/lang/Object;^
java/util/Set`java/util/LinkedHashSet
_bc(IF)V
ef
hashTableMask
hij#createHashFloodingResistantDelegate(I)Ljava/util/Set;
lmfirstEntryIndex]opqadd(Ljava/lang/Object;)Z
stLgetSuccessor
vwincrementModCount
yz{delegateOrNull()Ljava/util/Set;}java/lang/Integer
|?LnumberOfLeadingZeros
??;maskCombine
??allocArrays
???requireEntries()[I
???requireElements()[Ljava/lang/Object;	?
?????!com/google/common/collect/HashingsmearedHash(Ljava/lang/Object;)I
???requireTable()Ljava/lang/Object;
???tableGet(Ljava/lang/Object;I)I
??LnewCapacity
???resizeTable(IIII)I
???tableSet(Ljava/lang/Object;II)V
???
getHashPrefix(II)I
?????com/google/common/base/Objectsequal'(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/Mathmax
????min
??&
resizeEntries
?????java/util/ArrayscopyOf([II)[I
????)([Ljava/lang/Object;I)[Ljava/lang/Object;]??qcontains
??Lentry]??qremove
???b(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;[I[Ljava/lang/Object;[Ljava/lang/Object;)I
???
moveLastEntry

??CisEmpty]???iterator()Ljava/util/Iterator;?*com/google/common/collect/CompactHashSet$1
???-(Lcom/google/common/collect/CompactHashSet;)V?java/util/Spliterator
????java/util/Spliteratorsspliterator-([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/Consumeraccept(Ljava/lang/Object;)V]]?toArray](([Ljava/lang/Object;)[Ljava/lang/Object;
 !&com/google/common/collect/ObjectArraystoArrayImpl=([Ljava/lang/Object;II[Ljava/lang/Object;)[Ljava/lang/Object;]]$%clear
?'()fill*([Ljava/lang/Object;IILjava/lang/Object;)V
+,
tableClear
?.(/([IIII)V
1234java/io/ObjectOutputStreamdefaultWriteObject
167&writeInt
?:;<=Cjava/util/IteratorhasNext:?@?next
1BCwriteObject
EFGHjava/io/ObjectInputStreamdefaultReadObject
EJKreadIntMjava/io/InvalidObjectExceptionOjava/lang/StringBuilder
NRInvalid size: 
NTUVappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;
NXUY(I)Ljava/lang/StringBuilder;
N[\]toString()Ljava/lang/String;
L_`(Ljava/lang/String;)V
Ebc?
readObject
o
fghi
java/util/ObjectsrequireNonNullV\mjava/io/SerializableHASH_FLOODING_FPPD
ConstantValue?PbM???RuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;MAX_HASH_BUCKET_LENGTH	RuntimeVisibleAnnotationsLjavax/annotation/CheckForNull;RuntimeVisibleTypeAnnotations5Lorg/checkerframework/checker/nullness/qual/Nullable;create,()Lcom/google/common/collect/CompactHashSet;CodeLineNumberTable	SignatureG()Lcom/google/common/collect/CompactHashSet;B(Ljava/util/Collection;)Lcom/google/common/collect/CompactHashSet;LocalVariableTable
collectionLjava/util/Collection;set*Lcom/google/common/collect/CompactHashSet;LocalVariableTypeTableLjava/util/Collection<+TE;>;/Lcom/google/common/collect/CompactHashSet;MethodParametersc(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;expectedSizeH(I)Lcom/google/common/collect/CompactHashSet;this
StackMapTablebuckets8Lcom/google/errorprone/annotations/CanIgnoreReturnValue;()Ljava/util/Set;(I)Ljava/util/Set;inewDelegateLjava/util/Set;Ljava/util/Set;isUsingHashFloodingResistancemask
hashTableBits
entryIndex
hashPrefixbucketLengthobjectdelegate
newEntryIndexnewSizehash
tableIndexTE;(TE;)Z"RuntimeVisibleParameterAnnotations.Lcom/google/common/collect/ParametricNullness;	(ITE;II)VentriesSizeoldEntry
newTableIndexnewNextoldNext
oldTableIndexoldMask
targetHashtargetEntryIndexnewTablenewMaskoldTableindexsrcNextdstIndexsrcIndexadjustAfterRemoveindexBeforeRemoveindexRemoved()Ljava/util/Iterator;()Ljava/util/Spliterator;actionLjava/util/function/Consumer;#Ljava/util/function/Consumer<-TE;>;&(Ljava/util/function/Consumer<-TE;>;)Va[TT; ([TT;)[TT;
trimToSizeminimumTableSize(Ljava/io/ObjectOutputStream;)VestreamLjava/io/ObjectOutputStream;
Exceptions?java/io/IOException0Lcom/google/common/annotations/J2ktIncompatible;(Ljava/io/ObjectInputStream;)VLjava/io/ObjectInputStream;elementCount? java/lang/ClassNotFoundException(I)TE;value(ITE;)V
access$000-(Lcom/google/common/collect/CompactHashSet;)Ix0
access$100?(Lcom/google/common/collect/CompactHashSet;I)Ljava/lang/Object;x1HLjava/util/AbstractSet;Ljava/io/Serializable;
SourceFileCompactHashSet.java;Lcom/google/common/collect/ElementTypesAreNonnullByDefault;/Lcom/google/common/annotations/GwtIncompatible;InnerClasses (lnopqstupv?>?wx?UVwx?[\wxsty
z??/	{|} ?Y?
?~V?y
z	{?}j*??L+*?W+?~b
cd???
?????
?????y
z?{?}f*??L+*?W+?~pqr?[\???[????[?w?y
z	}3	?Y?$?~??	????y
z}N
*?'*?*?~??	??
???
??&}X
*?'*?*?~??	??
??
??
????,&}s??-?/*5?6?	?~???????????@??BC}T
*?**?d`?gL*?k=?+*??nW*?r=???*+?<*?S*?Y*?u+?~&		 ).3
8<? ?>??3???>??3????]??s??C}T
*?x???~?
???
???@stR&}s ?~d=**?	???	?~? ?????????f}H*?	~xd?~ ??????w}L*Y?	 `?	?~
$%??????pq},*?@?*??W*?xM,?,+?n?*??N*??:*??6`6+??6*?d6~6	*??	??6

?.?*????6??*??	`??????6
6
d6-.6??
?+2??????6
?
???	?*??+?n??*????6?-`??O*??*+??*??*?u?~?%*+-./1"2(4.546:7@8G9R:W;^=r??D?E?G?H?I?J?K?M?N?O?Q?R?U?W?Y\]^_`???m??g??v?
?s?????
??"?UV(?[\.??4??:??@??G??	R?@
? ????
????	?]?TW]jk?W]jk?%W]jk"?W]jky@(?z???s?????}?*????*,?ű~ghi?4???????????????????
??&}?'*???=?5|??`???>?*?ѱ~mnpqr!s&v?*
?'??'?!??'????&???&}g**???ԵS**???ڵY?~}~???????????}???M:d6?~`??*??:*??:6		?a	??6

?M
d6.6??	?6

~6??6
??
??O??6
????	???*?<*?P?~Z?????#?)?2?;?@?F?M?X?_?h?q??????????????FA?M:?X/?
_(?h?;O?
,d?	????????????????#|??)vUV??????W?Wj??N??????s??q}v	z*?@??*?xM,?,+???+??>*?d6*??~??6????6d6*??6???+*???????6????~N??	?????%?2?7?9?A?G?O?_?h?j?s?x??\	G,?O$?z??z??l??[?%U?2H@A9??z??l???	?]???(???x?q}S*?@??*?xM,?,+???*?d>+*??*??*????6??*??*Y??d??*?u?~F??	?????#?'?+?/?4?:?<?C?M?Q??4S??S??E??4?4??S??E???	?]?!??s??x??}
?*??N*??:*??:*??d6?|2:SS.OO??~6-??6	`6
	
?-`???-	d6.6??6		
???`??O?
SO?~b??????&?,?2?;?A?J?R?X?_?k?qx??????
??
q$?x?&o??JK?RC@	X=?
????????>??UV?[\???????6?kWjkW?)Wjk	y@?z?	??m}T
*????~
?
???
???@tL}c`*???	`??~????????@????}Td?~? ????????	????}?*?xL+?
+?????Y*???~ 	!#????????????]??}?2*?@?
?W???*?xL+?+??*??*????~&	RSUVW#X$Y.X1V?2?????2?????
?]M??
}?6+?W*?xM,?
,+?? *?k>?+*??*?r>???~"^_
`ac!d,c5g?*?6??6??
,??? 6??6??
,????]?????}{*?xL+?+??*???~
kl???????????
?]C?C}T
*????~q?
???
???@?}?**?@??W?*?xL+?+??*??*???ڰ~vwyz?*?????*?????
?]Jky
z}?3*?@?+??+S+?*?xM,?
,+??*??*??+??~&	???????%?2?? 3??3?\??? 3??3??????]Lk???s?y
z?}-W*?@??*?xL+?**??gM,+?"W*,?*?d6?
*??W?~B???
???"?'?(?-?6?;?@?F?L?V??>??W??
J??-*@?F?? ??W??
J????]??%}?]*?@??*?u*?xL+?$**??5?6?	+?#*?<*???)*??*???&*???**??*???-*???~>???????#?)?.?6?C?J?W?\??]??L???]??L???
?-]%C?}?*+?0+*??5*?8M,?9?,?>N+-?A???~???!?&?)?? !??*??*???!??*????:?????s?c?}?I+?D+?I=??LY?NY?PQ?S?W?Z?^?*?*>?+?a:*?dW????~*
??	?
?)?.?5?;?B?H??4;?0?I??I??	@??;?I???
?)???????s???}D*?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy