Index
A B C D E F G H I J K L M N O P R S T U V
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
R
- random - Variable in class squidpony.squidmath.JavaRNG
- randomElement(IRNG) - Method in class squidpony.squidmath.BundleBiMap
-
Gets a random E from this BundleBiMap's individual elements using the given IRNG.
- randomElement1(IRNG) - Method in class squidpony.squidmath.BundleBundleBiMap
-
Gets a random E1 from this BundleBiMap's individual elements1 using the given IRNG.
- randomElement2(IRNG) - Method in class squidpony.squidmath.BundleBundleBiMap
-
Gets a random E2 from this BundleBiMap using the given IRNG.
- randomKey(int, IRNG) - Method in class squidpony.squidmath.MultiKey
-
Gets a random key from the keyset specified by which using the given IRNG.
- randomKey(IRNG) - Method in class squidpony.squidmath.MultiArrangement
-
Gets a random key from this MultiArrangement in constant time, using the given IRNG to generate a random number.
- randomKey(IRNG) - Method in class squidpony.squidmath.MultiKey
-
Gets a random key from a random keyset in this MultiKey using the given IRNG.
- randomSingle(IRNG) - Method in class squidpony.squidmath.BundleBiMap
-
Gets a random S from this BundleBiMap using the given IRNG.
- rehash(int) - Method in class squidpony.squidmath.MultiArrangement
-
Rehashes the map.
- rem(Object) - Method in class squidpony.squidmath.MultiArrangement
- remove() - Method in class squidpony.squidmath.MultiArrangement.KeyIterator
- remove() - Method in class squidpony.squidmath.MultiArrangement.ValueIterator
- remove(int, Object) - Method in class squidpony.squidmath.MultiKey
-
Removes a given Object key from the keyset specified by which, if
removing
exists in that keyset, and also removes any keys associated with its point in the ordering. - remove(Object) - Method in class squidpony.squidmath.MultiArrangement.KeyList
-
Always throws an UnsupportedOperationException
- remove(Object) - Method in class squidpony.squidmath.MultiArrangement
- remove(String) - Method in class squidpony.SquidStorage
-
Removes one object from the current group by the
innerName
it was prepared with usingSquidStorage.put(String, Object)
. - remove(String) - Method in class squidpony.store.json.JsonStorage
-
Removes one object from the current group by the
innerName
it was prepared with usingJsonStorage.put(String, Object)
. - remove(String) - Method in class squidpony.store.text.TextStorage
-
Removes one object from the current group by the
innerName
it was prepared with usingput(String, Object, StringConvert)
. - removeAll(Collection<?>) - Method in class squidpony.squidmath.MultiArrangement.KeyList
-
Remove from this collection all elements in the given type-specific collection.
- removeAt(int) - Method in class squidpony.squidmath.MultiArrangement
-
Removes the key and value at the given index in the iteration order in not-exactly constant time (though it still should be efficient).
- removeAt(int) - Method in class squidpony.squidmath.MultiKey
-
Removes a given point in the ordering, if
index
is at least 0 and less thanMultiKey.size()
. - removeFirst() - Method in class squidpony.squidmath.MultiArrangement
-
Removes the mapping associated with the first key in iteration order.
- removeInt(Object) - Method in class squidpony.squidmath.MultiArrangement
- removeLast() - Method in class squidpony.squidmath.MultiArrangement
-
Removes the mapping associated with the last key in iteration order.
- reorder(int...) - Method in class squidpony.squidmath.BundleBiMap
-
Reorders this BundleBiMap using
ordering
, which has the same length as this object'sBundleBiMap.size()
and can be generated withArrayTools.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 callingBundleBiMap.shuffle(IRNG)
), or made in some other way. - reorder(int...) - Method in class squidpony.squidmath.BundleBundleBiMap
-
Reorders this BundleBiMap using
ordering
, which has the same length as this object'sBundleBundleBiMap.size()
and can be generated withArrayTools.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 callingBundleBundleBiMap.shuffle(IRNG)
), or made in some other way. - reorder(int...) - Method in class squidpony.squidmath.MultiArrangement
-
Given an array or varargs of replacement indices for this MultiArrangement's iteration order, reorders this so the first item in the returned version is the same as
getAt(ordering[0])
(with some care taken for negative or too-large indices), the second item in the returned version is the same asgetAt(ordering[1])
, etc. - reorder(int...) - Method in class squidpony.squidmath.MultiKey
-
Reorders this MultiKey using
ordering
, which have the same length as this MultiKey'sMultiKey.size()
and can be generated withArrayTools.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 callingMultiKey.shuffle(IRNG)
), or made in some other way. - retainAll(Collection<?>) - Method in class squidpony.squidmath.MultiArrangement.KeyList
-
Retains in this collection only elements from the given type-specific collection.
- retainAll(Collection<?>) - Method in class squidpony.squidmath.MultiArrangement
-
Retains in this collection only elements from the given collection.
All Classes|All Packages