Package squidpony.squidmath

Rarely-used data structures removed from squidlib-util and put in squidlib-extra in case they can be useful.
  • Class Summary 
    Class Description
    BundleBiMap<E,​S>
    An ordered bidirectional map-like data structure, with "bundles" of unique E (for Element) keys and unique S (for Single) keys updated together like a map that can be queried by E key bundles, S keys, or int indices, as well as like a multimap that can be queried by lone E keys.
    BundleBundleBiMap<E1,​E2>
    An ordered bidirectional map-like data structure, with "bundles" of unique E1 (Element type 1) keys and unique E2 (Element type 2) keys updated together like a map that can be queried by E1 key bundles, E2 key bundles, or int indices, as well as like a multimap that can be queried by lone E1 or E2 keys.
    JavaRNG
    This makes java.util.Random available for testing purposes.
    MultiArrangement<K>
    A bi-directional mapping of non-unique objects to positions in an ordering (which this generates), and vice versa.
    MultiKey
    An ordered multi-directional "map" that keeps 1 or more keysets organized so you can look up one key given a key in another keyset, and do the same for the indices of keys.