Uses of Class
squidpony.squidmath.UnorderedMap
Package | Description |
---|---|
squidpony |
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
|
squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
-
Uses of UnorderedMap in squidpony
Methods in squidpony that return types with arguments of type UnorderedMap Modifier and Type Method Description static <K, V> StringConvert<UnorderedMap<K,V>>
Converters. convertUnorderedMap(CharSequence typeK, CharSequence typeV)
static <K, V> StringConvert<UnorderedMap<K,V>>
Converters. convertUnorderedMap(Class<K> typeK, Class<V> typeV)
static <K, V> StringConvert<UnorderedMap<K,V>>
Converters. convertUnorderedMap(StringConvert<K> convertK, StringConvert<V> convertV)
-
Uses of UnorderedMap in squidpony.squidmath
Methods in squidpony.squidmath that return UnorderedMap Modifier and Type Method Description UnorderedMap<K,V>
UnorderedMap. clone()
Returns a deep copy of this map.static <K, V> UnorderedMap<K,V>
UnorderedMap. makeMap()
Makes an empty OrderedMap (OM); needs key and value types to be specified in order to work.static <K, V> UnorderedMap<K,V>
UnorderedMap. makeMap(K k0, V v0, Object... rest)
Makes an OrderedMap (OM) with the given load factor (which should be between 0.1 and 0.9), key and value types inferred from the types of k0 and v0, and considers all remaining parameters key-value pairs, casting the Objects at positions 0, 2, 4...UnorderedMap<K,V>
UnorderedMap. putPairs(K k0, V v0, Object... rest)
Given alternating key and value arguments in pairs, puts each key-value pair into this OrderedMap as if by callingput(Object, Object)
repeatedly for each pair.