Package net.minecraft.nbt
Class NbtCompound
java.lang.Object
net.minecraft.nbt.NbtCompound
- All Implemented Interfaces:
NbtElement
Represents an NBT compound object which holds unordered key-value pairs with distinct case-sensitive string keys.
- Mappings:
Namespace Name official naintermediary net/minecraft/class_2487named net/minecraft/nbt/NbtCompound
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<NbtCompound>private Map<String,NbtElement>private static intprivate static intstatic NbtType<NbtCompound>Fields inherited from interface net.minecraft.nbt.NbtElement
BYTE_ARRAY_TYPE, BYTE_TYPE, COMPOUND_TYPE, DOUBLE_TYPE, field_33246, field_33247, field_33248, field_33249, field_33264, FLOAT_TYPE, INT_ARRAY_TYPE, INT_TYPE, LIST_TYPE, LONG_ARRAY_TYPE, LONG_TYPE, NULL_TYPE, NUMBER_TYPE, SHORT_TYPE, STRING_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(NbtElementVisitor visitor)booleanDetermines whether the NBT compound object contains the specified key.booleanReturns whether the NBT compound object contains an element of the specified type at the specified key.booleancontainsUuid(String key)Returnstrueif thisNbtCompoundcontains a valid UUID representation associated with the given key.copy()Copies this NBT element.copyFrom(NbtCompound source)private CrashReportcreateCrashReport(String key, NbtType<?> reader, ClassCastException classCastException)booleanbooleangetBoolean(String key)bytebyte[]getByteArray(String key)getCompound(String key)doublefloatintint[]getIntArray(String key)getKeys()longlong[]getLongArray(String key)Gets the NBT type definition of this NBT element.shortintgetSize()bytegetType()Gets the type of this NBT element.byteGets the NBT type of the element stored at the specified key.Reads aUUIDfrom its NBT representation in thisNbtCompound.inthashCode()booleanisEmpty()put(String key, NbtElement element)voidputBoolean(String key, boolean value)voidvoidputByteArray(String key, byte[] value)voidputByteArray(String key, List<Byte> value)voidvoidvoidvoidputIntArray(String key, int[] value)voidputIntArray(String key, List<Integer> value)voidvoidputLongArray(String key, long[] value)voidputLongArray(String key, List<Long> value)voidvoidvoidWrites aUUIDto its NBT representation in thisNbtCompound.(package private) static NbtElementread(NbtType<?> reader, String key, DataInput input, int depth, NbtTagSizeTracker tracker)(package private) static bytereadByte(DataInput input, NbtTagSizeTracker tracker)(package private) static StringreadString(DataInput input, NbtTagSizeTracker tracker)voidprotected Map<String,NbtElement>toMap()toString()voidwrite(DataOutput output)private static voidwrite(String key, NbtElement element, DataOutput output)Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.nbt.NbtElement
asString
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLna;a:Lcom/mojang/serialization/Codec;intermediary field_25128Lnet/minecraft/class_2487;field_25128:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/nbt/NbtCompound;CODEC:Lcom/mojang/serialization/Codec;
-
field_33190
private static final int field_33190- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLna;c:Iintermediary field_33190Lnet/minecraft/class_2487;field_33190:Inamed field_33190Lnet/minecraft/nbt/NbtCompound;field_33190:I
-
field_33191
private static final int field_33191- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official wLna;w:Iintermediary field_33191Lnet/minecraft/class_2487;field_33191:Inamed field_33191Lnet/minecraft/nbt/NbtCompound;field_33191:I
-
TYPE
- Mappings:
Namespace Name Mixin selector official bLna;b:Lnu;intermediary field_21029Lnet/minecraft/class_2487;field_21029:Lnet/minecraft/class_4614;named TYPELnet/minecraft/nbt/NbtCompound;TYPE:Lnet/minecraft/nbt/NbtType;
-
entries
- Mappings:
Namespace Name Mixin selector official xLna;x:Ljava/util/Map;intermediary field_11515Lnet/minecraft/class_2487;field_11515:Ljava/util/Map;named entriesLnet/minecraft/nbt/NbtCompound;entries:Ljava/util/Map;
-
-
Constructor Details
-
NbtCompound
- Mappings:
Namespace Name Mixin selector official <init>Lna;<init>(Ljava/util/Map;)Vintermediary <init>Lnet/minecraft/class_2487;<init>(Ljava/util/Map;)Vnamed <init>Lnet/minecraft/nbt/NbtCompound;<init>(Ljava/util/Map;)V
-
NbtCompound
public NbtCompound()
-
-
Method Details
-
write
- Specified by:
writein interfaceNbtElement- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLns;a(Ljava/io/DataOutput;)Vintermediary method_10713Lnet/minecraft/class_2520;method_10713(Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/NbtElement;write(Ljava/io/DataOutput;)V
-
getKeys
- Mappings:
Namespace Name Mixin selector official dLna;d()Ljava/util/Set;intermediary method_10541Lnet/minecraft/class_2487;method_10541()Ljava/util/Set;named getKeysLnet/minecraft/nbt/NbtCompound;getKeys()Ljava/util/Set;
-
getType
public byte getType()Gets the type of this NBT element.- Specified by:
getTypein interfaceNbtElement- Returns:
- the type
- Mappings:
Namespace Name Mixin selector official aLns;a()Bintermediary method_10711Lnet/minecraft/class_2520;method_10711()Bnamed getTypeLnet/minecraft/nbt/NbtElement;getType()B
-
getNbtType
Gets the NBT type definition of this NBT element.- Specified by:
getNbtTypein interfaceNbtElement- Returns:
- the element type definition
- Mappings:
Namespace Name Mixin selector official bLns;b()Lnu;intermediary method_23258Lnet/minecraft/class_2520;method_23258()Lnet/minecraft/class_4614;named getNbtTypeLnet/minecraft/nbt/NbtElement;getNbtType()Lnet/minecraft/nbt/NbtType;
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official eLna;e()Iintermediary method_10546Lnet/minecraft/class_2487;method_10546()Inamed getSizeLnet/minecraft/nbt/NbtCompound;getSize()I
-
put
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;Lns;)Lns;intermediary method_10566Lnet/minecraft/class_2487;method_10566(Ljava/lang/String;Lnet/minecraft/class_2520;)Lnet/minecraft/class_2520;named putLnet/minecraft/nbt/NbtCompound;put(Ljava/lang/String;Lnet/minecraft/nbt/NbtElement;)Lnet/minecraft/nbt/NbtElement;
-
putByte
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;B)Vintermediary method_10567Lnet/minecraft/class_2487;method_10567(Ljava/lang/String;B)Vnamed putByteLnet/minecraft/nbt/NbtCompound;putByte(Ljava/lang/String;B)V
-
putShort
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;S)Vintermediary method_10575Lnet/minecraft/class_2487;method_10575(Ljava/lang/String;S)Vnamed putShortLnet/minecraft/nbt/NbtCompound;putShort(Ljava/lang/String;S)V
-
putInt
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;I)Vintermediary method_10569Lnet/minecraft/class_2487;method_10569(Ljava/lang/String;I)Vnamed putIntLnet/minecraft/nbt/NbtCompound;putInt(Ljava/lang/String;I)V
-
putLong
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;J)Vintermediary method_10544Lnet/minecraft/class_2487;method_10544(Ljava/lang/String;J)Vnamed putLongLnet/minecraft/nbt/NbtCompound;putLong(Ljava/lang/String;J)V
-
putUuid
Writes aUUIDto its NBT representation in thisNbtCompound.- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;Ljava/util/UUID;)Vintermediary method_25927Lnet/minecraft/class_2487;method_25927(Ljava/lang/String;Ljava/util/UUID;)Vnamed putUuidLnet/minecraft/nbt/NbtCompound;putUuid(Ljava/lang/String;Ljava/util/UUID;)V
-
getUuid
Reads aUUIDfrom its NBT representation in thisNbtCompound.- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;)Ljava/util/UUID;intermediary method_25926Lnet/minecraft/class_2487;method_25926(Ljava/lang/String;)Ljava/util/UUID;named getUuidLnet/minecraft/nbt/NbtCompound;getUuid(Ljava/lang/String;)Ljava/util/UUID;
-
containsUuid
Returnstrueif thisNbtCompoundcontains a valid UUID representation associated with the given key. A valid UUID is represented by an int array of length 4.- Mappings:
Namespace Name Mixin selector official bLna;b(Ljava/lang/String;)Zintermediary method_25928Lnet/minecraft/class_2487;method_25928(Ljava/lang/String;)Znamed containsUuidLnet/minecraft/nbt/NbtCompound;containsUuid(Ljava/lang/String;)Z
-
putFloat
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;F)Vintermediary method_10548Lnet/minecraft/class_2487;method_10548(Ljava/lang/String;F)Vnamed putFloatLnet/minecraft/nbt/NbtCompound;putFloat(Ljava/lang/String;F)V
-
putDouble
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;D)Vintermediary method_10549Lnet/minecraft/class_2487;method_10549(Ljava/lang/String;D)Vnamed putDoubleLnet/minecraft/nbt/NbtCompound;putDouble(Ljava/lang/String;D)V
-
putString
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;Ljava/lang/String;)Vintermediary method_10582Lnet/minecraft/class_2487;method_10582(Ljava/lang/String;Ljava/lang/String;)Vnamed putStringLnet/minecraft/nbt/NbtCompound;putString(Ljava/lang/String;Ljava/lang/String;)V
-
putByteArray
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;[B)Vintermediary method_10570Lnet/minecraft/class_2487;method_10570(Ljava/lang/String;[B)Vnamed putByteArrayLnet/minecraft/nbt/NbtCompound;putByteArray(Ljava/lang/String;[B)V
-
putByteArray
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;Ljava/util/List;)Vintermediary method_36110Lnet/minecraft/class_2487;method_36110(Ljava/lang/String;Ljava/util/List;)Vnamed putByteArrayLnet/minecraft/nbt/NbtCompound;putByteArray(Ljava/lang/String;Ljava/util/List;)V
-
putIntArray
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;[I)Vintermediary method_10539Lnet/minecraft/class_2487;method_10539(Ljava/lang/String;[I)Vnamed putIntArrayLnet/minecraft/nbt/NbtCompound;putIntArray(Ljava/lang/String;[I)V
-
putIntArray
- Mappings:
Namespace Name Mixin selector official bLna;b(Ljava/lang/String;Ljava/util/List;)Vintermediary method_10572Lnet/minecraft/class_2487;method_10572(Ljava/lang/String;Ljava/util/List;)Vnamed putIntArrayLnet/minecraft/nbt/NbtCompound;putIntArray(Ljava/lang/String;Ljava/util/List;)V
-
putLongArray
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;[J)Vintermediary method_10564Lnet/minecraft/class_2487;method_10564(Ljava/lang/String;[J)Vnamed putLongArrayLnet/minecraft/nbt/NbtCompound;putLongArray(Ljava/lang/String;[J)V
-
putLongArray
- Mappings:
Namespace Name Mixin selector official cLna;c(Ljava/lang/String;Ljava/util/List;)Vintermediary method_10538Lnet/minecraft/class_2487;method_10538(Ljava/lang/String;Ljava/util/List;)Vnamed putLongArrayLnet/minecraft/nbt/NbtCompound;putLongArray(Ljava/lang/String;Ljava/util/List;)V
-
putBoolean
- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;Z)Vintermediary method_10556Lnet/minecraft/class_2487;method_10556(Ljava/lang/String;Z)Vnamed putBooleanLnet/minecraft/nbt/NbtCompound;putBoolean(Ljava/lang/String;Z)V
-
get
- Mappings:
Namespace Name Mixin selector official cLna;c(Ljava/lang/String;)Lns;intermediary method_10580Lnet/minecraft/class_2487;method_10580(Ljava/lang/String;)Lnet/minecraft/class_2520;named getLnet/minecraft/nbt/NbtCompound;get(Ljava/lang/String;)Lnet/minecraft/nbt/NbtElement;
-
getType
Gets the NBT type of the element stored at the specified key.- Returns:
- the element NBT type, or
NULL_TYPEif it does not exist - Mappings:
Namespace Name Mixin selector official dLna;d(Ljava/lang/String;)Bintermediary method_10540Lnet/minecraft/class_2487;method_10540(Ljava/lang/String;)Bnamed getTypeLnet/minecraft/nbt/NbtCompound;getType(Ljava/lang/String;)B
-
contains
Determines whether the NBT compound object contains the specified key.- Returns:
trueif the key exists, elsefalse- Mappings:
Namespace Name Mixin selector official eLna;e(Ljava/lang/String;)Zintermediary method_10545Lnet/minecraft/class_2487;method_10545(Ljava/lang/String;)Znamed containsLnet/minecraft/nbt/NbtCompound;contains(Ljava/lang/String;)Z
-
contains
Returns whether the NBT compound object contains an element of the specified type at the specified key.The type restriction can also be
NUMBER_TYPE, which only allows any type of number.- Returns:
trueif the key exists and the element type is equivalent to the giventype, elsefalse- Mappings:
Namespace Name Mixin selector official bLna;b(Ljava/lang/String;I)Zintermediary method_10573Lnet/minecraft/class_2487;method_10573(Ljava/lang/String;I)Znamed containsLnet/minecraft/nbt/NbtCompound;contains(Ljava/lang/String;I)Z
-
getByte
- Mappings:
Namespace Name Mixin selector official fLna;f(Ljava/lang/String;)Bintermediary method_10571Lnet/minecraft/class_2487;method_10571(Ljava/lang/String;)Bnamed getByteLnet/minecraft/nbt/NbtCompound;getByte(Ljava/lang/String;)B
-
getShort
- Mappings:
Namespace Name Mixin selector official gLna;g(Ljava/lang/String;)Sintermediary method_10568Lnet/minecraft/class_2487;method_10568(Ljava/lang/String;)Snamed getShortLnet/minecraft/nbt/NbtCompound;getShort(Ljava/lang/String;)S
-
getInt
- Mappings:
Namespace Name Mixin selector official hLna;h(Ljava/lang/String;)Iintermediary method_10550Lnet/minecraft/class_2487;method_10550(Ljava/lang/String;)Inamed getIntLnet/minecraft/nbt/NbtCompound;getInt(Ljava/lang/String;)I
-
getLong
- Mappings:
Namespace Name Mixin selector official iLna;i(Ljava/lang/String;)Jintermediary method_10537Lnet/minecraft/class_2487;method_10537(Ljava/lang/String;)Jnamed getLongLnet/minecraft/nbt/NbtCompound;getLong(Ljava/lang/String;)J
-
getFloat
- Mappings:
Namespace Name Mixin selector official jLna;j(Ljava/lang/String;)Fintermediary method_10583Lnet/minecraft/class_2487;method_10583(Ljava/lang/String;)Fnamed getFloatLnet/minecraft/nbt/NbtCompound;getFloat(Ljava/lang/String;)F
-
getDouble
- Mappings:
Namespace Name Mixin selector official kLna;k(Ljava/lang/String;)Dintermediary method_10574Lnet/minecraft/class_2487;method_10574(Ljava/lang/String;)Dnamed getDoubleLnet/minecraft/nbt/NbtCompound;getDouble(Ljava/lang/String;)D
-
getString
- Mappings:
Namespace Name Mixin selector official lLna;l(Ljava/lang/String;)Ljava/lang/String;intermediary method_10558Lnet/minecraft/class_2487;method_10558(Ljava/lang/String;)Ljava/lang/String;named getStringLnet/minecraft/nbt/NbtCompound;getString(Ljava/lang/String;)Ljava/lang/String;
-
getByteArray
- Mappings:
Namespace Name Mixin selector official mLna;m(Ljava/lang/String;)[Bintermediary method_10547Lnet/minecraft/class_2487;method_10547(Ljava/lang/String;)[Bnamed getByteArrayLnet/minecraft/nbt/NbtCompound;getByteArray(Ljava/lang/String;)[B
-
getIntArray
- Mappings:
Namespace Name Mixin selector official nLna;n(Ljava/lang/String;)[Iintermediary method_10561Lnet/minecraft/class_2487;method_10561(Ljava/lang/String;)[Inamed getIntArrayLnet/minecraft/nbt/NbtCompound;getIntArray(Ljava/lang/String;)[I
-
getLongArray
- Mappings:
Namespace Name Mixin selector official oLna;o(Ljava/lang/String;)[Jintermediary method_10565Lnet/minecraft/class_2487;method_10565(Ljava/lang/String;)[Jnamed getLongArrayLnet/minecraft/nbt/NbtCompound;getLongArray(Ljava/lang/String;)[J
-
getCompound
- Mappings:
Namespace Name Mixin selector official pLna;p(Ljava/lang/String;)Lna;intermediary method_10562Lnet/minecraft/class_2487;method_10562(Ljava/lang/String;)Lnet/minecraft/class_2487;named getCompoundLnet/minecraft/nbt/NbtCompound;getCompound(Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;
-
getList
- Mappings:
Namespace Name Mixin selector official cLna;c(Ljava/lang/String;I)Lng;intermediary method_10554Lnet/minecraft/class_2487;method_10554(Ljava/lang/String;I)Lnet/minecraft/class_2499;named getListLnet/minecraft/nbt/NbtCompound;getList(Ljava/lang/String;I)Lnet/minecraft/nbt/NbtList;
-
getBoolean
- Mappings:
Namespace Name Mixin selector official qLna;q(Ljava/lang/String;)Zintermediary method_10577Lnet/minecraft/class_2487;method_10577(Ljava/lang/String;)Znamed getBooleanLnet/minecraft/nbt/NbtCompound;getBoolean(Ljava/lang/String;)Z
-
remove
- Mappings:
Namespace Name Mixin selector official rLna;r(Ljava/lang/String;)Vintermediary method_10551Lnet/minecraft/class_2487;method_10551(Ljava/lang/String;)Vnamed removeLnet/minecraft/nbt/NbtCompound;remove(Ljava/lang/String;)V
-
toString
- Specified by:
toStringin interfaceNbtElement- Overrides:
toStringin classObject
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official fLna;f()Zintermediary method_33133Lnet/minecraft/class_2487;method_33133()Znamed isEmptyLnet/minecraft/nbt/NbtCompound;isEmpty()Z
-
createCrashReport
private CrashReport createCrashReport(String key, NbtType<?> reader, ClassCastException classCastException)- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;Lnu;Ljava/lang/ClassCastException;)Lq;intermediary method_10559Lnet/minecraft/class_2487;method_10559(Ljava/lang/String;Lnet/minecraft/class_4614;Ljava/lang/ClassCastException;)Lnet/minecraft/class_128;named createCrashReportLnet/minecraft/nbt/NbtCompound;createCrashReport(Ljava/lang/String;Lnet/minecraft/nbt/NbtType;Ljava/lang/ClassCastException;)Lnet/minecraft/util/crash/CrashReport;
-
copy
Description copied from interface:NbtElementCopies this NBT element.- Specified by:
copyin interfaceNbtElement- Returns:
- the copied element
- Mappings:
Namespace Name Mixin selector official gLna;g()Lna;intermediary method_10553Lnet/minecraft/class_2487;method_10553()Lnet/minecraft/class_2487;named copyLnet/minecraft/nbt/NbtCompound;copy()Lnet/minecraft/nbt/NbtCompound;
-
equals
-
hashCode
public int hashCode() -
write
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/lang/String;Lns;Ljava/io/DataOutput;)Vintermediary method_10555Lnet/minecraft/class_2487;method_10555(Ljava/lang/String;Lnet/minecraft/class_2520;Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/NbtCompound;write(Ljava/lang/String;Lnet/minecraft/nbt/NbtElement;Ljava/io/DataOutput;)V
-
readByte
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLna;a(Ljava/io/DataInput;Lnj;)Bintermediary method_10542Lnet/minecraft/class_2487;method_10542(Ljava/io/DataInput;Lnet/minecraft/class_2505;)Bnamed readByteLnet/minecraft/nbt/NbtCompound;readByte(Ljava/io/DataInput;Lnet/minecraft/nbt/NbtTagSizeTracker;)B
-
readString
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLna;b(Ljava/io/DataInput;Lnj;)Ljava/lang/String;intermediary method_10552Lnet/minecraft/class_2487;method_10552(Ljava/io/DataInput;Lnet/minecraft/class_2505;)Ljava/lang/String;named readStringLnet/minecraft/nbt/NbtCompound;readString(Ljava/io/DataInput;Lnet/minecraft/nbt/NbtTagSizeTracker;)Ljava/lang/String;
-
read
static NbtElement read(NbtType<?> reader, String key, DataInput input, int depth, NbtTagSizeTracker tracker)- Mappings:
Namespace Name Mixin selector official aLna;a(Lnu;Ljava/lang/String;Ljava/io/DataInput;ILnj;)Lns;intermediary method_10581Lnet/minecraft/class_2487;method_10581(Lnet/minecraft/class_4614;Ljava/lang/String;Ljava/io/DataInput;ILnet/minecraft/class_2505;)Lnet/minecraft/class_2520;named readLnet/minecraft/nbt/NbtCompound;read(Lnet/minecraft/nbt/NbtType;Ljava/lang/String;Ljava/io/DataInput;ILnet/minecraft/nbt/NbtTagSizeTracker;)Lnet/minecraft/nbt/NbtElement;
-
copyFrom
- Mappings:
Namespace Name Mixin selector official aLna;a(Lna;)Lna;intermediary method_10543Lnet/minecraft/class_2487;method_10543(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named copyFromLnet/minecraft/nbt/NbtCompound;copyFrom(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
accept
- Specified by:
acceptin interfaceNbtElement- Mappings:
Namespace Name Mixin selector official aLns;a(Lnw;)Vintermediary method_32289Lnet/minecraft/class_2520;method_32289(Lnet/minecraft/class_5627;)Vnamed acceptLnet/minecraft/nbt/NbtElement;accept(Lnet/minecraft/nbt/visitor/NbtElementVisitor;)V
-
toMap
- Mappings:
Namespace Name Mixin selector official hLna;h()Ljava/util/Map;intermediary method_29143Lnet/minecraft/class_2487;method_29143()Ljava/util/Map;named toMapLnet/minecraft/nbt/NbtCompound;toMap()Ljava/util/Map;
-