Package-level declarations
Types
MutableObjectFloatMap is a container with a MutableMap-like interface for keys with reference types and Float primitives for values.
MutableScatterMap is a container with a Map-like interface based on a flat hash table implementation (the key/value mappings are not stored by nodes but directly into arrays). The underlying implementation is designed to avoid all allocations on insertion, removal, retrieval, and iteration. Allocations may still happen on insertion when the underlying storage needs to grow to accommodate newly added entries to the table. In addition, this implementation minimizes memory usage by avoiding the use of separate objects to hold key/value pairs.
MutableScatterSet is a container with a MutableSet-like interface based on a flat hash table implementation. The underlying implementation is designed to avoid all allocations on insertion, removal, retrieval, and iteration. Allocations may still happen on insertion when the underlying storage needs to grow to accommodate newly added elements to the set.
ObjectFloatMap is a container with a Map-like interface for keys with reference types and Float primitives for values.
ScatterMap is a container with a Map-like interface based on a flat hash table implementation (the key/value mappings are not stored by nodes but directly into arrays). The underlying implementation is designed to avoid all allocations on insertion, removal, retrieval, and iteration. Allocations may still happen on insertion when the underlying storage needs to grow to accommodate newly added entries to the table. In addition, this implementation minimizes memory usage by avoiding the use of separate objects to hold key/value pairs.
ScatterSet is a container with a Set-like interface based on a flat hash table implementation. The underlying implementation is designed to avoid all allocations on insertion, removal, retrieval, and iteration. Allocations may still happen on insertion when the underlying storage needs to grow to accommodate newly added elements to the set.
Functions
Returns an empty, read-only ObjectFloatMap.
Returns an empty, read-only ScatterMap.
Returns an empty, read-only ScatterSet.
Returns a new empty MutableObjectFloatMap.
Returns a new MutableObjectFloatMap with only key1 associated with value1.
Returns a new MutableObjectFloatMap with only key1 and key2 associated with value1 and value2, respectively.
Returns a new MutableObjectFloatMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.
Returns a new MutableObjectFloatMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.
Returns a new MutableScatterMap.
Returns a new MutableScatterMap with the specified contents, given as a list of pairs where the first component is the key and the second is the value. If multiple pairs have the same key, the resulting map will contain the value from the last of those pairs.
Returns a new MutableScatterSet.
Returns a new MutableScatterSet with only element1 in it.
Returns a new MutableScatterSet with the specified contents.
Returns a new MutableScatterSet with only element1 and element2 in it.
Returns a new MutableScatterSet with only element1, element2, and element3 in it.
Returns an empty, read-only ObjectFloatMap.
Returns a new ObjectFloatMap with only key1 associated with value1.
Returns a new ObjectFloatMap with only key1 and key2 associated with value1 and value2, respectively.
Returns a new ObjectFloatMap with only key1, key2, and key3 associated with value1, value2, and value3, respectively.
Returns a new ObjectFloatMap with only key1, key2, key3, and key4 associated with value1, value2, value3, and value4, respectively.
Returns an empty, read-only ScatterSet.
Returns a new read-only ScatterSet with only element1 in it.
Returns a new read-only ScatterSet with only elements in it.
Returns a new read-only ScatterSet with only element1 and element2 in it.
Returns a new read-only ScatterSet with only element1, element2, and element3 in it.