Class MappedData
java.lang.Object
nl.elec332.gradle.minecraft.moddev.util.MappedData
- All Implemented Interfaces:
Serializable
Created by Elec332 on 14-03-2024
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(String key) copy()booleangetMapCollection(String entry) getOrCreateMap(String key) getStringCollection(String entry) inthashCode()keySet()voidmergeWith(MappedData other) static MappedDatastatic MappedDataof(String key, MappedData value) static MappedDataof(Consumer<MappedData> builder) static MappedDataofMapCollection(String key, Collection<MappedData> value) static MappedDataofStringCollection(String key, Collection<String> value) voidvoidvoidputMap(String key, MappedData value) voidputMapCollection(String key, Collection<MappedData> value) voidvoidputStringCollection(String key, Collection<String> value) removeMapCollection(String entry) removeString(String entry) removeStringCollection(String entry)
-
Constructor Details
-
MappedData
public MappedData()
-
-
Method Details
-
ofMapCollection
-
ofStringCollection
-
of
-
of
-
of
-
putString
-
put
-
putStringCollection
-
putMapCollection
-
putMap
-
putMap
-
getString
-
getStringCollection
-
getMapCollection
-
getMap
-
getOrCreateMap
-
removeString
-
removeStringCollection
-
removeMapCollection
-
removeMap
-
mergeWith
-
keySet
-
containsKey
-
clear
public void clear() -
copy
-
getbackedMap
-
equals
-
hashCode
public int hashCode()
-