Uses of Class
squidpony.squidmath.BundleBiMap

Packages that use BundleBiMap 
Package Description
squidpony.squidmath
Rarely-used data structures removed from squidlib-util and put in squidlib-extra in case they can be useful.
  • Uses of BundleBiMap in squidpony.squidmath

    Methods in squidpony.squidmath that return BundleBiMap 
    Modifier and Type Method Description
    BundleBiMap<E,​S> BundleBiMap.alterB​(S past, S future)
    Changes an existing S key, past, to another S key, future, if past exists in this BundleBiMap and future does not yet exist in this BundleBiMap.
    BundleBiMap<E,​S> BundleBiMap.alterSingleAt​(int index, S future)
    Changes the S key at index to another S key, future, if index is valid and future does not yet exist in this K2.
    BundleBiMap<E,​S> BundleBiMap.reorder​(int... ordering)
    Reorders this BundleBiMap using ordering, which has the same length as this object's size() and can be generated with ArrayTools.range(int) (which, if applied, would produce no change to the current ordering), IRNG.randomOrdering(int) (which gives a random ordering, and if applied immediately would be the same as calling shuffle(IRNG)), or made in some other way.
    BundleBiMap<E,​S> BundleBiMap.shuffle​(IRNG rng)
    Generates a random ordering with rng and applies the same ordering to all kinds of keys this has; they will maintain their current association to other keys but their ordering/indices will change.
    Methods in squidpony.squidmath with parameters of type BundleBiMap 
    Modifier and Type Method Description
    boolean BundleBiMap.putAll​(BundleBiMap<? extends E,​? extends S> other)
    Puts all unique E and S keys in other into this K2, respecting other's ordering.
    Constructors in squidpony.squidmath with parameters of type BundleBiMap 
    Constructor Description
    BundleBiMap​(BundleBiMap<E,​S> other)
    Constructs a BundleBiMap using another BundleBiMap to copy.