Package dev.latvian.apps.nbt
Class NBTCompoundTag
- All Implemented Interfaces:
NBTTag,Serializable,Cloneable,Map<String,,NBTTag> SequencedMap<String,NBTTag>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionNBTCompoundTag(int size) NBTCompoundTag(Map<String, ? extends NBTTag> entries) -
Method Summary
Modifier and TypeMethodDescriptioncopy()getType()static NBTCompoundTagstatic NBTCompoundTagstatic NBTCompoundTagreadCompressed(Path path) static NBTCompoundTagreadFully(InputStream in) static NBTCompoundTag@NotNull StringtoString()voidtoString(StringBuilder builder) unwrap()voidwrite(DataOutput out) voidvoidwriteCompressed(Path path) voidwriteFully(OutputStream out) voidMethods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, newLinkedHashMap, putFirst, putLast, removeEldestEntry, replaceAll, reversed, sequencedEntrySet, sequencedKeySet, sequencedValues, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMap
equals, hashCodeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from interface java.util.SequencedMap
firstEntry, lastEntry, pollFirstEntry, pollLastEntry
-
Constructor Details
-
NBTCompoundTag
public NBTCompoundTag() -
NBTCompoundTag
public NBTCompoundTag(int size) -
NBTCompoundTag
-
-
Method Details
-
read
- Throws:
IOException
-
readFully
- Throws:
IOException
-
readFullyCompressed
- Throws:
IOException
-
read
- Throws:
IOException
-
readCompressed
- Throws:
IOException
-
getType
-
write
- Specified by:
writein interfaceNBTTag- Throws:
IOException
-
copy
-
unwrap
-
toString
-
toString
- Overrides:
toStringin classAbstractMap<String,NBTTag>
-
writeFully
- Throws:
IOException
-
writeFullyCompressed
- Throws:
IOException
-
write
- Throws:
IOException
-
writeCompressed
- Throws:
IOException
-