io.netty.util.collection.IntObjectHashMap.class Maven / Gradle / Ivy
???? 2j )io/netty/util/collection/IntObjectHashMap TLjava/lang/Object;Lio/netty/util/collection/IntObjectMap; java/lang/Object %io/netty/util/collection/IntObjectMap IntObjectHashMap.java 2io/netty/util/collection/IntObjectHashMap$MapEntry MapEntry 5io/netty/util/collection/IntObjectHashMap$MapIterator MapIterator ;io/netty/util/collection/IntObjectHashMap$PrimitiveIterator PrimitiveIterator 0io/netty/util/collection/IntObjectHashMap$KeySet KeySet 2io/netty/util/collection/IntObjectHashMap$EntrySet EntrySet +io/netty/util/collection/IntObjectHashMap$2 +io/netty/util/collection/IntObjectHashMap$1 java/util/Map$Entry
java/util/Map Entry 4io/netty/util/collection/IntObjectMap$PrimitiveEntry ! PrimitiveEntry DEFAULT_CAPACITY I DEFAULT_LOAD_FACTOR F?
NULL_VALUE Ljava/lang/Object; maxSize
loadFactor keys [I values [Ljava/lang/Object; [TV; size mask keySet Ljava/util/Set; $Ljava/util/Set; entrySet >Ljava/util/Set;>; entries Ljava/lang/Iterable; QLjava/lang/Iterable;>; $assertionsDisabled Z ()V (IF)V ? A
B this 0Lio/netty/util/collection/IntObjectHashMap; +Lio/netty/util/collection/IntObjectHashMap; (I)V initialCapacity ? @
I [(Lio/netty/util/collection/IntObjectHashMap;Lio/netty/util/collection/IntObjectHashMap$1;)V ? K
L 5 6 N
L 8 6 Q .(Lio/netty/util/collection/IntObjectHashMap;)V ? S
T : ; V "java/lang/IllegalArgumentException X loadFactor must be > 0 and <= 1 Z (Ljava/lang/String;)V ? \
Y ] - ( _ io/netty/util/internal/MathUtil a safeFindNextPositivePowerOfTwo (I)I c d
b e 4 % g . / i 1 0 1 l calcMaxSize n d
o , % q capacity temp
toExternal &(Ljava/lang/Object;)Ljava/lang/Object; = > w java/lang/AssertionError y Anull is not a legitimate internal value. Concurrent Modification? { (Ljava/lang/Object;)V ? }
z ~ * + ? value TT;
toInternal get (I)Ljava/lang/Object; indexOf ? d
? u v
? key index put '(ILjava/lang/Object;)Ljava/lang/Object; hashIndex ? d
? ? v
? growSize ? @
? probeNext ? d
? java/lang/IllegalStateException ? Unable to insert ?
? ]
previousValue TV;
startIndex putAll (Ljava/util/Map;)V ? ?
? ()Ljava/util/Set; 8 ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ()Z ? ? ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? java/lang/Integer ? getValue ? ? ? 9(Ljava/lang/Integer;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? sourceValue i source entry /Ljava/util/Map$Entry<+Ljava/lang/Integer;+TV;>; Ljava/util/Map$Entry; sourceMap )Ljava/util/Map<+Ljava/lang/Integer;+TV;>; Ljava/util/Map; remove removeAt (I)Z ? ?
? prev ()I 3 % ? isEmpty clear java/util/Arrays ? fill ([II)V ? ?
? ? (([Ljava/lang/Object;Ljava/lang/Object;)V ? ?
? ? containsKey
containsValue (Ljava/lang/Object;)Z equals ? ?
? v2 v1 ()Ljava/lang/Iterable; ()Ljava/util/Collection;
T hashCode / ? d
? hash 3 ? ? ? ? ?
otherValue obj other 'Lio/netty/util/collection/IntObjectMap; objectToKey (Ljava/lang/Object;)I ? ?
? ? ?
?
? Ljava/lang/Integer; ? ?
intValue ?
???? java/lang/StringBuilder
I Max capacity reached at size= append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
(I)Ljava/lang/StringBuilder;
toString ()Ljava/lang/String;
rehash G
bucket nextFree java/lang/Math min (II)I
!
upperBound oldKey oldVal newCapacity oldKeys oldVals ? ?
) {}+ ? G
- (C)Ljava/lang/StringBuilder;
/
0 , 2 keyToString (I)Ljava/lang/String;45
6
(this Map)8 -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
:
; sb Ljava/lang/StringBuilder; first5
?@ 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
access$300 .(Lio/netty/util/collection/IntObjectHashMap;)I x0
access$500 <(Lio/netty/util/collection/IntObjectHashMap;)Ljava/util/Set;
access$600 @(Lio/netty/util/collection/IntObjectHashMap;)[Ljava/lang/Object;
access$700 /(Lio/netty/util/collection/IntObjectHashMap;I)Z x1
access$800 /(Lio/netty/util/collection/IntObjectHashMap;)[I
access$900 access$1000 java/lang/ClassR desiredAssertionStatusT ?
SU
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable (TT;)TT; (I)TV; (ITV;)TV; ,(Ljava/util/Map<+Ljava/lang/Integer;+TV;>;)V S()Ljava/lang/Iterable;>; ()Ljava/util/Collection; (Ljava/lang/Object;)TV; (Ljava/lang/Integer;TV;)TV; &()Ljava/util/Set; @()Ljava/util/Set;>;
SourceFile InnerClasses !
$ % W &