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.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> StringConvert<UnorderedMap<K,V>> |
Converters.convertUnorderedMap(java.lang.CharSequence typeK,
java.lang.CharSequence typeV) |
static <K,V> StringConvert<UnorderedMap<K,V>> |
Converters.convertUnorderedMap(java.lang.Class<K> typeK,
java.lang.Class<V> typeV) |
static <K,V> StringConvert<UnorderedMap<K,V>> |
Converters.convertUnorderedMap(StringConvert<K> convertK,
StringConvert<V> convertV) |
Modifier and Type | Method and 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,
java.lang.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,
java.lang.Object... rest)
Given alternating key and value arguments in pairs, puts each key-value pair into this OrderedMap as if by
calling
put(Object, Object) repeatedly for each pair. |
Copyright © Eben Howard 2012–2022. All rights reserved.