public class org.eclipse.collections.impl.map.mutable.MapAdapter<K, V> extends org.eclipse.collections.impl.map.mutable.AbstractMutableMap<K, V> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.collections.impl.map.mutable.MapAdapter
super_class: org.eclipse.collections.impl.map.mutable.AbstractMutableMap
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected final java.util.Map<K, V> delegate;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<TK;TV;>;
protected void <init>(java.util.Map<K, V>);
descriptor: (Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.collections.impl.map.mutable.AbstractMutableMap.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "MapAdapter may not wrap null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.eclipse.collections.impl.map.mutable.MapAdapter java.util.Map
StackMap stack:
aload 0
aload 1
putfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 5 1 newDelegate Ljava/util/Map<TK;TV;>;
Signature: (Ljava/util/Map<TK;TV;>;)V
MethodParameters:
Name Flags
newDelegate
public static <K, V> org.eclipse.collections.api.map.MutableMap<K, V> adapt(java.util.Map<K, V>);
descriptor: (Ljava/util/Map;)Lorg/eclipse/collections/api/map/MutableMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.eclipse.collections.api.map.MutableMap
ifeq 1
aload 0
checkcast org.eclipse.collections.api.map.MutableMap
goto 2
StackMap locals:
StackMap stack:
1: new org.eclipse.collections.impl.map.mutable.MapAdapter
dup
aload 0
invokespecial org.eclipse.collections.impl.map.mutable.MapAdapter.<init>:(Ljava/util/Map;)V
StackMap locals:
StackMap stack: org.eclipse.collections.api.map.MutableMap
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 map Ljava/util/Map<TK;TV;>;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(Ljava/util/Map<TK;TV;>;)Lorg/eclipse/collections/api/map/MutableMap<TK;TV;>;
MethodParameters:
Name Flags
map
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
public org.eclipse.collections.api.map.MutableMap<K, V> clone();
descriptor: ()Lorg/eclipse/collections/api/map/MutableMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokestatic org.eclipse.collections.impl.map.mutable.UnifiedMap.newMap:(Ljava/util/Map;)Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
Signature: ()Lorg/eclipse/collections/api/map/MutableMap<TK;TV;>;
public <K, V> org.eclipse.collections.api.map.MutableMap<K, V> newEmpty(int);
descriptor: (I)Lorg/eclipse/collections/api/map/MutableMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic org.eclipse.collections.impl.map.mutable.UnifiedMap.newMap:(I)Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 1 1 capacity I
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(I)Lorg/eclipse/collections/api/map/MutableMap<TK;TV;>;
MethodParameters:
Name Flags
capacity
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
public java.util.Iterator<V> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
Signature: ()Ljava/util/Iterator<TV;>;
public V remove();
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
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 1 1 key Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key
public java.util.Set<K> keySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
Signature: ()Ljava/util/Set<TK;>;
public java.util.Collection<V> values();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
Signature: ()Ljava/util/Collection<TV;>;
public java.util.Set<java.util.Map$Entry<K, V>> entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<TK;TV;>;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
public org.eclipse.collections.api.map.MutableMap<K, V> newEmpty();
descriptor: ()Lorg/eclipse/collections/api/map/MutableMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic org.eclipse.collections.impl.map.mutable.UnifiedMap.newMap:()Lorg/eclipse/collections/impl/map/mutable/UnifiedMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
Signature: ()Lorg/eclipse/collections/api/map/MutableMap<TK;TV;>;
public void forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2<? super K, ? super V>);
descriptor: (Lorg/eclipse/collections/api/block/procedure/Procedure2;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
invokestatic org.eclipse.collections.impl.utility.MapIterate.forEachKeyValue:(Ljava/util/Map;Lorg/eclipse/collections/api/block/procedure/Procedure2;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 2 1 procedure Lorg/eclipse/collections/api/block/procedure/Procedure2<-TK;-TV;>;
Signature: (Lorg/eclipse/collections/api/block/procedure/Procedure2<-TK;-TV;>;)V
MethodParameters:
Name Flags
procedure
public V get();
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
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 1 1 key Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key
public V put(K, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 1 1 key TK;
0 1 2 value TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key
value
public void putAll(java.util.Map<? extends K, ? extends V>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 2 1 map Ljava/util/Map<+TK;+TV;>;
Signature: (Ljava/util/Map<+TK;+TV;>;)V
MethodParameters:
Name Flags
map
public <E> org.eclipse.collections.api.map.MutableMap<K, V> collectKeysAndValues(java.lang.Iterable<E>, org.eclipse.collections.api.block.function.Function<? super E, ? extends K>, org.eclipse.collections.api.block.function.Function<? super E, ? extends V>);
descriptor: (Ljava/lang/Iterable;Lorg/eclipse/collections/api/block/function/Function;Lorg/eclipse/collections/api/block/function/Function;)Lorg/eclipse/collections/api/map/MutableMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokestatic org.eclipse.collections.impl.utility.Iterate.addToMap:(Ljava/lang/Iterable;Lorg/eclipse/collections/api/block/function/Function;Lorg/eclipse/collections/api/block/function/Function;Ljava/util/Map;)Ljava/util/Map;
pop
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 2 1 iterable Ljava/lang/Iterable<TE;>;
0 2 2 keyFunction Lorg/eclipse/collections/api/block/function/Function<-TE;+TK;>;
0 2 3 valueFunction Lorg/eclipse/collections/api/block/function/Function<-TE;+TV;>;
Signature: <E:Ljava/lang/Object;>(Ljava/lang/Iterable<TE;>;Lorg/eclipse/collections/api/block/function/Function<-TE;+TK;>;Lorg/eclipse/collections/api/block/function/Function<-TE;+TV;>;)Lorg/eclipse/collections/api/map/MutableMap<TK;TV;>;
MethodParameters:
Name Flags
iterable
keyFunction
valueFunction
public V removeKey();
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
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 1 1 key TK;
Signature: (TK;)TV;
MethodParameters:
Name Flags
key
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public boolean containsValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsValue:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.map.mutable.MapAdapter.delegate:Ljava/util/Map;
invokeinterface java.util.Map.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
public org.eclipse.collections.api.map.ImmutableMap<K, V> toImmutable();
descriptor: ()Lorg/eclipse/collections/api/map/ImmutableMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.eclipse.collections.impl.factory.Maps.immutable:Lorg/eclipse/collections/api/factory/map/ImmutableMapFactory;
aload 0
invokeinterface org.eclipse.collections.api.factory.map.ImmutableMapFactory.ofMap:(Ljava/util/Map;)Lorg/eclipse/collections/api/map/ImmutableMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/map/mutable/MapAdapter<TK;TV;>;
Signature: ()Lorg/eclipse/collections/api/map/ImmutableMap<TK;TV;>;
public org.eclipse.collections.api.map.ImmutableMapIterable toImmutable();
descriptor: ()Lorg/eclipse/collections/api/map/ImmutableMapIterable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.collections.impl.map.mutable.MapAdapter.toImmutable:()Lorg/eclipse/collections/api/map/ImmutableMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.eclipse.collections.api.map.MutableMapIterable newEmpty();
descriptor: ()Lorg/eclipse/collections/api/map/MutableMapIterable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.collections.impl.map.mutable.MapAdapter.newEmpty:()Lorg/eclipse/collections/api/map/MutableMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.collections.impl.map.mutable.MapAdapter.clone:()Lorg/eclipse/collections/api/map/MutableMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Lorg/eclipse/collections/impl/map/mutable/AbstractMutableMap<TK;TV;>;Ljava/io/Serializable;
SourceFile: "MapAdapter.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map