Class ImmutableCollectionUtils
java.lang.Object
io.github.vampirestudios.vampirelib.village.ImmutableCollectionUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>getAsMutableList(Supplier<List<T>> getter, Consumer<List<T>> setter) static <K,V> Map<K, V> getAsMutableMap(Supplier<Map<K, V>> getter, Consumer<Map<K, V>> setter) static <T> Set<T>getAsMutableSet(Supplier<Set<T>> getter, Consumer<Set<T>> setter)
-
Constructor Details
-
ImmutableCollectionUtils
public ImmutableCollectionUtils()
-
-
Method Details
-
getAsMutableSet
-
getAsMutableList
-
getAsMutableMap
-