Skip navigation links
A B C D E F G H I J K L M N O P R S T U V 

A

add(K) - Method in class squidpony.squidmath.MultiArrangement
 
add(K) - Method in class squidpony.squidmath.MultiArrangement.KeyIterator
 
add(K) - Method in class squidpony.squidmath.MultiArrangement.KeyList
Always throws an UnsupportedOperationException
add(Integer) - Method in class squidpony.squidmath.MultiArrangement.ValueIterator
 
addAll(K[]) - Method in class squidpony.squidmath.MultiArrangement
 
addAll(Collection<? extends K>) - Method in class squidpony.squidmath.MultiArrangement
 
addAll(Collection<? extends K>) - Method in class squidpony.squidmath.MultiArrangement.KeyList
Always throws an UnsupportedOperationException.
addAllIfAbsent(Map<? extends K, ? extends Integer>) - Method in class squidpony.squidmath.MultiArrangement
 
addAllIfAbsent(K[]) - Method in class squidpony.squidmath.MultiArrangement
 
addAllIfAbsent(Collection<? extends K>) - Method in class squidpony.squidmath.MultiArrangement
 
addAt(int, K) - Method in class squidpony.squidmath.MultiArrangement
Equivalent to MultiArrangement.add(Object), except that it can place k at any point in the ordering (shifting up later entries and changing their values to match their new positions in the ordering).
addIfAbsent(K) - Method in class squidpony.squidmath.MultiArrangement
 
alter(K, K) - Method in class squidpony.squidmath.MultiArrangement
Swaps a key, original, for another key, replacement, while keeping replacement at the same point in the iteration order as original and keeping it associated with the same value (which also keeps its iteration index).
alter(int, Object, Object) - Method in class squidpony.squidmath.MultiKey
In the keyset specified by which, changes an existing key, past, to another key, future, if past exists in that keyset and future does not yet exist in that keyset.
alterAt(int, int, Object) - Method in class squidpony.squidmath.MultiKey
In the keyset specified by which, changes the key at index to another key, future, if index is valid and future does not yet exist in that keyset.
alterB(S, S) - Method in class squidpony.squidmath.BundleBiMap
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.
alterSingleAt(int, S) - Method in class squidpony.squidmath.BundleBiMap
Changes the S key at index to another S key, future, if index is valid and future does not yet exist in this K2.
append(IntVLA, Object) - Method in class squidpony.squidmath.MultiArrangement
Different from the typical get method; adds to the non-null IntVLA, container, filling with any positions associated with k in this MultiArrangement.
arraySize(int, float) - Static method in class squidpony.squidmath.MultiArrangement
Returns the least power of two smaller than or equal to 230 and larger than or equal to Math.ceil( expected / f ).

B

BonusConverters - Class in squidpony.store.text
Created by Tommy Ettinger on 4/22/2017.
BonusConverters() - Constructor for class squidpony.store.text.BonusConverters
 
BundleBiMap<E,S> - Class in squidpony.squidmath
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.
BundleBiMap() - Constructor for class squidpony.squidmath.BundleBiMap
Constructs an empty BundleBiMap.
BundleBiMap(int) - Constructor for class squidpony.squidmath.BundleBiMap
Constructs a BundleBiMap with the expected number of indices to hold (the number of bundles and number of S items is always the same, and this will be more efficient if expected is greater than that number).
BundleBiMap(int, float) - Constructor for class squidpony.squidmath.BundleBiMap
Constructs a BundleBiMap with the expected number of indices to hold (the number of bundles and number of S items is always the same, and this will be more efficient if expected is greater than that number) and the load factor to use, between 0.1f and 0.8f usually (using load factors higher than 0.8f can cause problems).
BundleBiMap(BundleBiMap<E, S>) - Constructor for class squidpony.squidmath.BundleBiMap
Constructs a BundleBiMap using another BundleBiMap to copy.
BundleBundleBiMap<E1,E2> - Class in squidpony.squidmath
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.
BundleBundleBiMap() - Constructor for class squidpony.squidmath.BundleBundleBiMap
Constructs an empty BundleBiMap.
BundleBundleBiMap(int) - Constructor for class squidpony.squidmath.BundleBundleBiMap
Constructs a BundleBiMap with the expected number of indices to hold (the number of bundles and number of E2 items is always the same, and this will be more efficient if expected is greater than that number).
BundleBundleBiMap(int, float) - Constructor for class squidpony.squidmath.BundleBundleBiMap
Constructs a BundleBiMap with the expected number of indices to hold (the number of bundles and number of E2 items is always the same, and this will be more efficient if expected is greater than that number) and the load factor to use, between 0.1f and 0.8f usually (using load factors higher than 0.8f can cause problems).
BundleBundleBiMap(BundleBundleBiMap<E1, E2>) - Constructor for class squidpony.squidmath.BundleBundleBiMap
Constructs a BundleBiMap using another BundleBiMap to copy.

C

clear() - Method in class squidpony.squidmath.MultiArrangement
 
clear() - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
clear() - Method in class squidpony.squidmath.MultiArrangement.ValueCollection
 
clear() - Method in class squidpony.SquidStorage
Clears the current group of objects; recommended if you intend to store under multiple outerName keys.
clear() - Method in class squidpony.store.json.JsonStorage
Clears the current group of objects; recommended if you intend to store under multiple outerName keys.
clear() - Method in class squidpony.store.text.TextStorage
Clears the current group of objects; recommended if you intend to store under multiple outerName keys.
clone() - Method in class squidpony.squidmath.MultiArrangement
Returns a deep copy of this map.
comparator() - Method in class squidpony.squidmath.MultiArrangement
 
compress - Variable in class squidpony.store.json.JsonStorage
 
compress - Variable in class squidpony.store.text.TextStorage
 
contains(Object) - Method in class squidpony.squidmath.MultiArrangement.KeyList
Delegates to the corresponding type-specific method.
contains(Object) - Method in class squidpony.squidmath.MultiArrangement.ValueCollection
 
contains(int, Object) - Method in class squidpony.squidmath.MultiKey
Returns true if this contains key in the keyset specified by which.
containsAll(Collection<?>) - Method in class squidpony.squidmath.MultiArrangement.KeyList
Checks whether this collection contains all elements from the given type-specific collection.
containsElement(E) - Method in class squidpony.squidmath.BundleBiMap
Returns true if this contains the E, element, in any of its bundles of E keys.
containsElement1(E1) - Method in class squidpony.squidmath.BundleBundleBiMap
Returns true if this contains the E1, element, in any of its bundles of E1 keys.
containsElement2(E2) - Method in class squidpony.squidmath.BundleBundleBiMap
Returns true if this contains the E2, element, in its collection of E2 items.
containsIndex(int) - Method in class squidpony.squidmath.BundleBiMap
Returns true if index is between 0 (inclusive) and BundleBiMap.size() (exclusive), or false otherwise.
containsIndex(int) - Method in class squidpony.squidmath.BundleBundleBiMap
Returns true if index is between 0 (inclusive) and BundleBundleBiMap.size() (exclusive), or false otherwise.
containsIndex(int) - Method in class squidpony.squidmath.MultiKey
Returns true if index is between 0 (inclusive) and MultiKey.size() (exclusive), or false otherwise.
containsKey(Object) - Method in class squidpony.squidmath.MultiArrangement
 
containsNullKey - Variable in class squidpony.squidmath.MultiArrangement
Whether this set contains the key zero.
containsSingle(S) - Method in class squidpony.squidmath.BundleBiMap
Returns true if this contains the S, single, in its collection of S items.
containsValue(int) - Method in class squidpony.squidmath.MultiArrangement
 
containsValue(Object) - Method in class squidpony.squidmath.MultiArrangement
 
contents - Variable in class squidpony.store.json.JsonStorage
 
contents - Variable in class squidpony.store.text.TextStorage
 
convertListLanguage - Static variable in class squidpony.store.text.BonusConverters
 
convertMapCharListLanguage - Static variable in class squidpony.store.text.BonusConverters
 
convertMapCharString - Static variable in class squidpony.store.text.BonusConverters
 
convertPoliticalMapper - Static variable in class squidpony.store.text.BonusConverters
 
convertProbabilityTable(StringConvert<K>) - Static method in class squidpony.store.text.BonusConverters
 
convertProbabilityTable(CharSequence) - Static method in class squidpony.store.text.BonusConverters
 
convertProbabilityTable(Class<K>) - Static method in class squidpony.store.text.BonusConverters
 
convertRNG - Static variable in class squidpony.store.text.BonusConverters
 
convertSpillWorldMap - Static variable in class squidpony.store.text.BonusConverters
 
convertStatefulRandomness - Static variable in class squidpony.store.text.BonusConverters
 
convertStatefulRNG - Static variable in class squidpony.store.text.BonusConverters
 
copy() - Method in class squidpony.squidmath.JavaRNG
 

D

DataCompressor - Class in squidpony
A variant of DataConverter (and an extension of libGDX's Json class) that compresses its JSON output and reads compressed input.
DataCompressor() - Constructor for class squidpony.DataCompressor
 
DataCompressor(JsonWriter.OutputType) - Constructor for class squidpony.DataCompressor
 
DataConverter - Class in squidpony
Augmented version of libGDX's Json class that knows how to handle various data types common in SquidLib.
DataConverter() - Constructor for class squidpony.DataConverter
Creates a new DataConverter using "minimal" output type, so it omits double quotes whenever possible but gives up compatibility with most other JSON readers.
DataConverter(JsonWriter.OutputType) - Constructor for class squidpony.DataConverter
Creates a new DataConverter with the given OutputType; typically minimal is fine, but compatibility may require you to use json; the javascript type is a sort of middle ground.
DEFAULT_INITIAL_SIZE - Static variable in class squidpony.squidmath.MultiArrangement
The initial default size of a hash table.
DEFAULT_LOAD_FACTOR - Static variable in class squidpony.squidmath.MultiArrangement
The default load factor of a hash table.
defRetValue - Variable in class squidpony.squidmath.MultiArrangement
Default return value.

E

elementsFromCode(int[][]) - Method in class squidpony.squidmath.BundleBiMap
Given a coded bundle as produced by some methods in this class, decodes the elements part of the bundle and returns it as a newly-allocated OrderedSet of E element keys.
elementsFromCode(int[][]) - Method in class squidpony.squidmath.BundleBundleBiMap
Given a coded bundle as produced by some methods in this class, decodes the elements1 part of the bundle and returns it as a newly-allocated OrderedSet of E1 element keys.
elementSize() - Method in class squidpony.squidmath.BundleBiMap
Gets the total number of unique E element keys across all bundles in this BundleBiMap.
elementSize() - Method in class squidpony.squidmath.BundleBundleBiMap
Gets the total number of unique E1 element keys across all bundles in this BundleBiMap.
equals(Object) - Method in class squidpony.squidmath.JavaRNG
 
equals(Object) - Method in class squidpony.squidmath.MultiArrangement
 
equals(Object) - Method in class squidpony.squidmath.MultiArrangement.KeyList
 

F

f - Variable in class squidpony.squidmath.MultiArrangement
The acceptable load factor.
FAST_LOAD_FACTOR - Static variable in class squidpony.squidmath.MultiArrangement
The load factor for a (usually small) table that is meant to be particularly fast.
first - Variable in class squidpony.squidmath.MultiArrangement
The index of the first entry in iteration order.
first() - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
firstKey() - Method in class squidpony.squidmath.MultiArrangement
Returns the first key of this map in iteration order.
fixOrder(int) - Method in class squidpony.squidmath.MultiArrangement
 
fixOrder(int, int) - Method in class squidpony.squidmath.MultiArrangement
Modifies the link vector for a shift from s to d.
fixValues() - Method in class squidpony.squidmath.MultiArrangement
 
fromJson(Class<T>, Reader) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, Class, Reader) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, InputStream) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, Class, InputStream) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, FileHandle) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, Class, FileHandle) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, char[], int, int) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, Class, char[], int, int) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, String) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, Class, String) - Method in class squidpony.DataCompressor
 
fromJson(Class<T>, Reader) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, Class, Reader) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, InputStream) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, Class, InputStream) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, FileHandle) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, Class, FileHandle) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, char[], int, int) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, Class, char[], int, int) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, String) - Method in class squidpony.store.json.JsonCompressor
 
fromJson(Class<T>, Class, String) - Method in class squidpony.store.json.JsonCompressor
 

G

garbleKey - Variable in class squidpony.store.json.JsonStorage
 
garbleKey - Variable in class squidpony.store.text.TextStorage
 
get(IntVLA, Object) - Method in class squidpony.squidmath.MultiArrangement
Different from the typical get method; clears the non-null IntVLA, container, and fills it with any positions associated with k in this MultiArrangement.
get(int) - Method in class squidpony.squidmath.MultiArrangement.KeyList
get(String, String, Class<T>) - Method in class squidpony.SquidStorage
Gets an object from the storage by the given outerName key from SquidStorage.store(String) and innerName key from SquidStorage.put(String, Object), and uses the class given by type for the returned value, assuming it matches the object that was originally put with those keys.
get(String, String, Class<T>) - Method in class squidpony.store.json.JsonStorage
Gets an object from the storage by the given outerName key from JsonStorage.store(String) and innerName key from JsonStorage.put(String, Object), and uses the class given by type for the returned value, assuming it matches the object that was originally put with those keys.
get(String, String, StringConvert<?>, Class<T>) - Method in class squidpony.store.text.TextStorage
Gets an object from the storage by the given outerName key from TextStorage.store(String) and innerName key from TextStorage.put(String, Object, StringConvert), and uses the class given by type for the returned value, assuming it matches the object that was originally put with those keys.
get(String, String, CharSequence, Class<T>) - Method in class squidpony.store.text.TextStorage
Gets an object from the storage by the given outerName key from TextStorage.store(String) and innerName key from TextStorage.put(String, Object, StringConvert), and uses the class given by type for the returned value, assuming it matches the object that was originally put with those keys.
getAllAt(int) - Method in class squidpony.squidmath.MultiKey
Given an int index, finds the associated keys at all keysets (using index as a point in the ordering) and returns them as a newly-allocated Object array.
getAllAt(int, Object[]) - Method in class squidpony.squidmath.MultiKey
Given an int index and an Object array to reuse, finds the associated keys at all keysets (using index as a point in the ordering) and fills into with those keys, up to keyCount items.
getArray(K[]) - Method in class squidpony.squidmath.MultiArrangement
 
getArray(Collection<? extends K>) - Method in class squidpony.squidmath.MultiArrangement
 
getAt(int) - Method in class squidpony.squidmath.MultiArrangement
Gets the value at the given index in the iteration order in constant time (random-access).
getAt(int, int) - Method in class squidpony.squidmath.MultiKey
Given an index of a keyset (which) and an int index, finds the associated key in the keyset specified by which (using index as a point in the ordering).
getBundleElements(S) - Method in class squidpony.squidmath.BundleBiMap
Given an S key to look up, gets a (newly-allocated) OrderedSet of E element keys corresponding to that S key.
getBundleElements(E2[]) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an E2 key to look up, gets a (newly-allocated) OrderedSet of E1 element keys corresponding to that E2 key.
getBundleElementsAt(int) - Method in class squidpony.squidmath.BundleBiMap
Given an index to look up, gets a (newly-allocated) OrderedSet of E element keys in the bundle at that index.
getBundleElementsAt(int) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an index to look up, gets a (newly-allocated) OrderedSet of E1 element keys in the bundle at that index.
getBundleVariation(S) - Method in class squidpony.squidmath.BundleBiMap
Given an S key to look up, gets a (newly-allocated) int array that is equivalent to the variation part of the bundle corresponding to single.
getBundleVariationAt(int) - Method in class squidpony.squidmath.BundleBiMap
Given an index to look up, gets a (newly-allocated) int array that is equivalent to the variation part of the bundle present at that index.
getBundleVariationAt(int) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an index to look up, gets a (newly-allocated) int array that is equivalent to the variation part of the bundle present at that index.
getCode(S) - Method in class squidpony.squidmath.BundleBiMap
Given an S key to look up, gets a 2D int array representing the key's matching bundle.
getCodeAt(int) - Method in class squidpony.squidmath.BundleBiMap
Given an index to look up, gets a 2D int array representing the bundle at that index.
getCodeAt(int) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an index to look up, gets a 2D int array representing the bundle at that index.
getElement1BundleVariation(E2[]) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an E2 key to look up, gets a (newly-allocated) int array that is equivalent to the variation part of the bundle corresponding to single.
getElement1OrderedSet() - Method in class squidpony.squidmath.BundleBundleBiMap
To be called sparingly, since this allocates a new OrderedSet instead of reusing one.
getElement1Set() - Method in class squidpony.squidmath.BundleBundleBiMap
Gets and caches the individual E1 keys as a Collection that implements SortedSet (and so also implements Set).
getElement2(E1[]) - Method in class squidpony.squidmath.BundleBundleBiMap
Given a bundle of E1 keys as an array with no variation, gets the matching E2 key for that bundle, or null if there is none.
getElement2(E1[], int[]) - Method in class squidpony.squidmath.BundleBundleBiMap
Given a bundle of E1 keys as an array with an int array variation, gets the matching E2 key for that bundle, or null if there is none.
getElement2(Collection<? extends E1>) - Method in class squidpony.squidmath.BundleBundleBiMap
Given a bundle of E1 keys as a Collection with no variation, gets the matching E2 key for that bundle, or null if there is none.
getElement2(Collection<? extends E1>, int[]) - Method in class squidpony.squidmath.BundleBundleBiMap
Given a bundle of E1 keys as a Collection with an int array variation, gets the matching E2 key for that bundle, or null if there is none.
getElement2At(int) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an index to look up, gets the E2 key present at that position in the ordering.
getElement2Coded(int[][]) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an E1 bundle as a coded 2D int array, gets the matching E2 bundle, also coded, or null if there is none.
getElement2OrderedSet() - Method in class squidpony.squidmath.BundleBundleBiMap
To be called sparingly, since this allocates a new OrderedSet instead of reusing one.
getElement2Set() - Method in class squidpony.squidmath.BundleBundleBiMap
Gets and caches the E2 single keys as a Collection that implements SortedSet (and so also implements Set).
getElementOrderedSet() - Method in class squidpony.squidmath.BundleBiMap
To be called sparingly, since this allocates a new OrderedSet instead of reusing one.
getElementSet() - Method in class squidpony.squidmath.BundleBiMap
Gets and caches the individual E keys as a Collection that implements SortedSet (and so also implements Set).
getFrom(int, int, Object) - Method in class squidpony.squidmath.MultiKey
Given an index of the keyset to look up a key in (lookingUp), an index of the keyset to get from (getting), and an Object key to look up (key), finds the Object key in the keyset specified by getting that is associated with key in the keyset specified by lookingUp.
getMany(Iterable<? extends K>) - Method in class squidpony.squidmath.MultiArrangement
 
getManyCoded(E) - Method in class squidpony.squidmath.BundleBiMap
Given an E element key that could be used in one or more bundles this uses, gets all bundles in this object that contain the given element, as coded 2D int arrays.
getManyCoded(E1) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an E1 element key that could be used in one or more bundles this uses, gets all bundles in this object that contain the given element, as coded 2D int arrays.
getManyElement2(E1) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an E1 element key that could be used in one or more bundles this uses, finds all E2 single keys corresponding to bundles that contain the given element.
getManyIndices(E) - Method in class squidpony.squidmath.BundleBiMap
Given an E element key that could be used in one or more bundles this uses, gets all indices in the ordering that contain a bundle with that element.
getManyIndices(E1) - Method in class squidpony.squidmath.BundleBundleBiMap
Given an E1 element key that could be used in one or more bundles this uses, gets all indices in the ordering that contain a bundle with that element.
getManySingles(E) - Method in class squidpony.squidmath.BundleBiMap
Given an E element key that could be used in one or more bundles this uses, finds all S single keys corresponding to bundles that contain the given element.
getOrderedSet(int) - Method in class squidpony.squidmath.MultiKey
To be called sparingly, since this allocates a new OrderedSet instead of reusing one.
getSet(int) - Method in class squidpony.squidmath.MultiKey
Gets and caches the keys in the keyset specified by which as a Collection that implements SortedSet (and so also implements Set).
getSingle(E[]) - Method in class squidpony.squidmath.BundleBiMap
Given a bundle of E keys as an array with no variation, gets the matching S key for that bundle, or null if there is none.
getSingle(E[], int[]) - Method in class squidpony.squidmath.BundleBiMap
Given a bundle of E keys as an array with an int array variation, gets the matching S key for that bundle, or null if there is none.
getSingle(Collection<? extends E>) - Method in class squidpony.squidmath.BundleBiMap
Given a bundle of E keys as a Collection with no variation, gets the matching S key for that bundle, or null if there is none.
getSingle(Collection<? extends E>, int[]) - Method in class squidpony.squidmath.BundleBiMap
Given a bundle of E keys as a Collection with an int array variation, gets the matching S key for that bundle, or null if there is none.
getSingleAt(int) - Method in class squidpony.squidmath.BundleBiMap
Given an int index, finds the associated S key (using index as a point in the ordering).
getSingleCoded(int[][]) - Method in class squidpony.squidmath.BundleBiMap
Given a bundle as a coded 2D int array, gets the matching S key for that bundle, or null if there is none.
getSingleOrderedSet() - Method in class squidpony.squidmath.BundleBiMap
To be called sparingly, since this allocates a new OrderedSet instead of reusing one.
getSingleSet() - Method in class squidpony.squidmath.BundleBiMap
Gets and caches the S single keys as a Collection that implements SortedSet (and so also implements Set).

H

hashCode() - Method in class squidpony.squidmath.JavaRNG
 
hashCode() - Method in class squidpony.squidmath.MultiArrangement
Returns a hash code for this map.
hasher - Variable in class squidpony.squidmath.MultiArrangement
 
headMap(K) - Method in class squidpony.squidmath.MultiArrangement
 

I

indexOf(int, Object) - Method in class squidpony.squidmath.MultiKey
Given an index of a keyset (which) and an Object key, finds the position in the ordering that key has in the keyset at which, or -1 if key is not present.
indexOfElement2Coded(int[][]) - Method in class squidpony.squidmath.BundleBundleBiMap
Gets (in near-constant time) the index of the given E2 coded key in the ordering.
indexOfSingle(S) - Method in class squidpony.squidmath.BundleBiMap
Gets (in near-constant time) the index of the given S single key in the ordering.
initialize(Json) - Static method in class squidpony.store.json.JsonConverter
 
INVALID - Static variable in class squidpony.store.json.JsonConverter
 
isEmpty() - Method in class squidpony.squidmath.BundleBiMap
 
isEmpty() - Method in class squidpony.squidmath.BundleBundleBiMap
 
isEmpty() - Method in class squidpony.squidmath.MultiArrangement
 
isEmpty() - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
isEmpty() - Method in class squidpony.squidmath.MultiKey
 
iterator() - Method in class squidpony.squidmath.MultiArrangement
Returns an iterator over elements of type T.
iterator() - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
iterator() - Method in class squidpony.squidmath.MultiArrangement.ValueCollection
 
iterator(int) - Method in class squidpony.squidmath.MultiKey
Creates a new iterator over the keys this holds in the keyset specified by which.
iteratorElement1() - Method in class squidpony.squidmath.BundleBundleBiMap
Creates a new iterator over the individual E1 element keys this holds, with a larger total count the iterator may yield than BundleBundleBiMap.size() in most cases (it should be equal to BundleBundleBiMap.elementSize()), and in no particular order (though the order should be stable across versions and platforms, no special means are provided to further control the order).
iteratorElement2() - Method in class squidpony.squidmath.BundleBundleBiMap
Creates a new iterator over the E2 single keys this holds.
iteratorElements() - Method in class squidpony.squidmath.BundleBiMap
Creates a new iterator over the individual E element keys this holds, with a larger total count the iterator may yield than BundleBiMap.size() in most cases (it should be equal to BundleBiMap.elementSize()), and in no particular order (though the order should be stable across versions and platforms, no special means are provided to further control the order).
iteratorSingles() - Method in class squidpony.squidmath.BundleBiMap
Creates a new iterator over the S single keys this holds.

J

JavaRNG - Class in squidpony.squidmath
This makes java.util.Random available for testing purposes.
JavaRNG() - Constructor for class squidpony.squidmath.JavaRNG
Creates a new generator seeded using Math.random.
JavaRNG(long) - Constructor for class squidpony.squidmath.JavaRNG
 
JavaRNG(Random) - Constructor for class squidpony.squidmath.JavaRNG
 
json - Variable in class squidpony.store.json.JsonStorage
 
JsonCompressor - Class in squidpony.store.json
A variant of JsonConverter (and an extension of libGDX's Json class) that compresses its JSON output and reads compressed input.
JsonCompressor() - Constructor for class squidpony.store.json.JsonCompressor
 
JsonCompressor(JsonWriter.OutputType) - Constructor for class squidpony.store.json.JsonCompressor
 
JsonConverter - Class in squidpony.store.json
Augmented version of libGDX's Json class that knows how to handle various data types common in SquidLib.
JsonConverter() - Constructor for class squidpony.store.json.JsonConverter
Creates a new JsonConverter using "minimal" output type, so it omits double quotes whenever possible but gives up compatibility with most other JSON readers.
JsonConverter(JsonWriter.OutputType) - Constructor for class squidpony.store.json.JsonConverter
Creates a new JsonConverter with the given OutputType; typically minimal is fine, but compatibility may require you to use json; the javascript type is a sort of middle ground.
JsonStorage - Class in squidpony.store.json
Helps games store information in libGDX's Preferences class as Strings, then get it back out.
JsonStorage() - Constructor for class squidpony.store.json.JsonStorage
Please don't use this constructor if possible; it simply calls JsonStorage(String) with the constant String "nameless".
JsonStorage(String) - Constructor for class squidpony.store.json.JsonStorage
Creates a JsonStorage with the given fileName to save using Preferences from libGDX.
JsonStorage(String, String) - Constructor for class squidpony.store.json.JsonStorage
Creates a JsonStorage with the given fileName to save using Preferences from libGDX.
JsonStorage(String, long[]) - Constructor for class squidpony.store.json.JsonStorage
Creates a JsonStorage with the given fileName to save using Preferences from libGDX.

K

key - Variable in class squidpony.squidmath.MultiArrangement
The array of keys.
keyAt(int) - Method in class squidpony.squidmath.MultiArrangement
Gets the key at the given index in the iteration order in constant time (random-access).
keyCount - Variable in class squidpony.squidmath.MultiKey
 
keyCount() - Method in class squidpony.squidmath.MultiKey
 
KeyIterator() - Constructor for class squidpony.squidmath.MultiArrangement.KeyIterator
 
keyList() - Method in class squidpony.squidmath.MultiArrangement
 
KeyList() - Constructor for class squidpony.squidmath.MultiArrangement.KeyList
 
keys - Variable in class squidpony.squidmath.MultiArrangement
Cached set of keys.
keysAsArrayList() - Method in class squidpony.squidmath.MultiArrangement
 
keysAt(int...) - Method in class squidpony.squidmath.MultiArrangement
 
keysAt(IntVLA) - Method in class squidpony.squidmath.MultiArrangement
 

L

last() - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
last - Variable in class squidpony.squidmath.MultiArrangement
The index of the last entry in iteration order.
lastKey() - Method in class squidpony.squidmath.MultiArrangement
Returns the last key of this map in iteration order.

M

mapConverter - Variable in class squidpony.store.text.TextStorage
 
mask - Variable in class squidpony.squidmath.MultiArrangement
The mask for wrapping a position counter.
maxFill - Variable in class squidpony.squidmath.MultiArrangement
Threshold after which we rehash.
maxFill(int, float) - Static method in class squidpony.squidmath.MultiArrangement
Returns the maximum number of entries that can be filled before rehashing.
maxFill(long, float) - Static method in class squidpony.squidmath.MultiArrangement
Returns the maximum number of entries that can be filled before rehashing.
MultiArrangement<K> - Class in squidpony.squidmath
A bi-directional mapping of non-unique objects to positions in an ordering (which this generates), and vice versa.
MultiArrangement(int, float) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new MultiArrangement.
MultiArrangement(int) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new MultiArrangement with 0.5f as load factor.
MultiArrangement() - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new MultiArrangement with initial expected 16 entries and 0.5f as load factor.
MultiArrangement(MultiArrangement<? extends K>) - Constructor for class squidpony.squidmath.MultiArrangement
 
MultiArrangement(K[], float) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new MultiArrangement using the elements of an array.
MultiArrangement(Collection<K>) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new Arrangement using the elements of an array.
MultiArrangement(Collection<K>, float) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new Arrangement using the given collection of keys.
MultiArrangement(K[]) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new Arrangement with 0.5f as load factor using the elements of an array.
MultiArrangement(int, float, CrossHash.IHasher) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new Arrangement.
MultiArrangement(int, CrossHash.IHasher) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new Arrangement with 0.5f as load factor.
MultiArrangement(CrossHash.IHasher) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new Arrangement with initial expected 16 entries and 0.5f as load factor.
MultiArrangement(K[], float, CrossHash.IHasher) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new Arrangement using the elements of two parallel arrays.
MultiArrangement(K[], CrossHash.IHasher) - Constructor for class squidpony.squidmath.MultiArrangement
Creates a new Arrangement with 0.5f as load factor using the elements of two parallel arrays.
MultiArrangement.KeyIterator - Class in squidpony.squidmath
An iterator on keys.
MultiArrangement.KeyList - Class in squidpony.squidmath
 
MultiArrangement.ValueCollection - Class in squidpony.squidmath
 
MultiArrangement.ValueIterator - Class in squidpony.squidmath
An iterator on values.
MultiKey - Class in squidpony.squidmath
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.
MultiKey() - Constructor for class squidpony.squidmath.MultiKey
Constructs an empty MultiKey.
MultiKey(int, int) - Constructor for class squidpony.squidmath.MultiKey
Constructs a MultiKey with the expected number of indices to hold (the number of items in each keyset is always the same, and this will be more efficient if expected is greater than that number).
MultiKey(int, int, float) - Constructor for class squidpony.squidmath.MultiKey
Constructs a MultiKey with the expected number of indices to hold (the number of items in each keyset is always the same, and this will be more efficient if expected is greater than that number) and the load factor to use, between 0.1f and 0.8f usually (using load factors higher than 0.8f can cause problems).
MultiKey(Collection<Iterable>) - Constructor for class squidpony.squidmath.MultiKey
Constructs a MultiKey from a Collection of Iterables that will be processed in tandem, adding a unique item from each keyset in keysets if and only if it can also add a unique item from all other keysets, otherwise skipping that iteration in each Iterable.
MultiKey(MultiKey) - Constructor for class squidpony.squidmath.MultiKey
 
MultiKey(Arrangement[]) - Constructor for class squidpony.squidmath.MultiKey
 

N

n - Variable in class squidpony.squidmath.MultiArrangement
The current table size.
next(int) - Method in class squidpony.squidmath.JavaRNG
 
next() - Method in class squidpony.squidmath.MultiArrangement.KeyIterator
 
next() - Method in class squidpony.squidmath.MultiArrangement.ValueIterator
 
nextBoolean() - Method in class squidpony.squidmath.JavaRNG
Gets a random value, true or false.
nextBytes(byte[]) - Method in class squidpony.squidmath.JavaRNG
Given a byte array as a parameter, this will fill the array with random bytes (modifying it in-place).
nextDouble() - Method in class squidpony.squidmath.JavaRNG
 
nextDouble(double) - Method in class squidpony.squidmath.JavaRNG
 
nextFloat() - Method in class squidpony.squidmath.JavaRNG
Gets a uniform random float in the range [0.0,1.0)
nextInt() - Method in class squidpony.squidmath.JavaRNG
 
nextInt(int) - Method in class squidpony.squidmath.JavaRNG
 
nextInt(int, int) - Method in class squidpony.squidmath.JavaRNG
Inclusive lower, exclusive upper.
nextInt() - Method in class squidpony.squidmath.MultiArrangement.ValueIterator
 
nextLong() - Method in class squidpony.squidmath.JavaRNG
 

O

order - Variable in class squidpony.squidmath.MultiArrangement
 

P

positionOf(Object) - Method in class squidpony.squidmath.MultiArrangement
 
preferences - Variable in class squidpony.store.json.JsonStorage
 
preferences - Variable in class squidpony.store.text.TextStorage
 
preferencesSize() - Method in class squidpony.SquidStorage
Gets the approximate size of the currently-stored preferences.
preferencesSize() - Method in class squidpony.store.json.JsonStorage
Gets the approximate size of the currently-stored preferences.
preferencesSize() - Method in class squidpony.store.text.TextStorage
Gets the approximate size of the currently-stored preferences.
previous() - Method in class squidpony.squidmath.MultiArrangement.KeyIterator
 
previous() - Method in class squidpony.squidmath.MultiArrangement.ValueIterator
 
previousInt() - Method in class squidpony.squidmath.MultiArrangement.ValueIterator
 
put(E[], S) - Method in class squidpony.squidmath.BundleBiMap
Adds a bundle of E keys and a S key at the same point in the ordering (the end) to this BundleBiMap.
put(E[], int[], S) - Method in class squidpony.squidmath.BundleBiMap
Adds a bundle of E keys, mixed with an int array of variations, and a S key at the same point in the ordering (the end) to this BundleBiMap.
put(Collection<? extends E>, S) - Method in class squidpony.squidmath.BundleBiMap
Adds a bundle of E keys and a S key at the same point in the ordering (the end) to this BundleBiMap.
put(Collection<? extends E>, int[], S) - Method in class squidpony.squidmath.BundleBiMap
Adds a bundle of E keys, mixed with an int array of variations, and a S key at the same point in the ordering (the end) to this BundleBiMap.
put(E1[], E2[]) - Method in class squidpony.squidmath.BundleBundleBiMap
Adds a bundle of E1 keys and a E2 key at the same point in the ordering (the end) to this BundleBiMap.
put(E1[], int[], E2[], int[]) - Method in class squidpony.squidmath.BundleBundleBiMap
Adds a bundle of E1 keys, mixed with an int array of variations, and a E2 key at the same point in the ordering (the end) to this BundleBiMap.
put(Collection<? extends E1>, Collection<? extends E2>) - Method in class squidpony.squidmath.BundleBundleBiMap
Adds a bundle of E1 keys and a E2 key at the same point in the ordering (the end) to this BundleBiMap.
put(Collection<? extends E1>, int[], Collection<? extends E2>, int[]) - Method in class squidpony.squidmath.BundleBundleBiMap
Adds a bundle of E1 keys, mixed with an int array of variations, and a bundle of E2 keys at the same point in the ordering (the end) to this BundleBiMap.
put(Object...) - Method in class squidpony.squidmath.MultiKey
Adds a key to each keyset at the same point in the ordering (the end) of this MultiKey.
put(String, Object) - Method in class squidpony.SquidStorage
Prepares to store the Object o to be retrieved with innerName in the current group of objects.
put(String, Object) - Method in class squidpony.store.json.JsonStorage
Prepares to store the Object o to be retrieved with innerName in the current group of objects.
put(String, T, StringConvert) - Method in class squidpony.store.text.TextStorage
Prepares to store the Object o to be retrieved with innerName in the current group of objects.
putAll(Iterable<? extends Collection<? extends E>>, Iterable<? extends S>) - Method in class squidpony.squidmath.BundleBiMap
Puts all unique E and S keys in aKeys and bKeys into this K2 at the end.
putAll(BundleBiMap<? extends E, ? extends S>) - Method in class squidpony.squidmath.BundleBiMap
Puts all unique E and S keys in other into this K2, respecting other's ordering.
putAll(Iterable<? extends Collection<? extends E1>>, Iterable<? extends Collection<? extends E2>>) - Method in class squidpony.squidmath.BundleBundleBiMap
Puts all unique E1 and E2 keys in aKeys and bKeys into this K2 at the end.
putAll(BundleBundleBiMap<? extends E1, ? extends E2>) - Method in class squidpony.squidmath.BundleBundleBiMap
Puts all unique E1 and E2 keys in other into this K2, respecting other's ordering.
putAll(Collection<Iterable>) - Method in class squidpony.squidmath.MultiKey
Goes through all Iterable items in k and adds their unique items into their corresponding keyset at the end.
putAll(MultiKey) - Method in class squidpony.squidmath.MultiKey
Puts all unique keys in other into this MultiKey, respecting other's ordering.
putAt(int, Object...) - Method in class squidpony.squidmath.MultiKey
Adds a key to each keyset at the given index in the ordering of this MultiKey.

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(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(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.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(Object) - Method in class squidpony.squidmath.MultiArrangement.KeyList
Always throws an UnsupportedOperationException
remove(Object) - Method in class squidpony.squidmath.MultiArrangement
 
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(String) - Method in class squidpony.SquidStorage
Removes one object from the current group by the innerName it was prepared with using SquidStorage.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 using JsonStorage.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 using TextStorage.put(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 than MultiKey.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's BundleBiMap.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 BundleBiMap.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's BundleBundleBiMap.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 BundleBundleBiMap.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 as getAt(ordering[1]), etc.
reorder(int...) - Method in class squidpony.squidmath.MultiKey
Reorders this MultiKey using ordering, which have the same length as this MultiKey's MultiKey.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 MultiKey.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.

S

set(K) - Method in class squidpony.squidmath.MultiArrangement.KeyIterator
 
set(Integer) - Method in class squidpony.squidmath.MultiArrangement.ValueIterator
 
shiftKeys(int) - Method in class squidpony.squidmath.MultiArrangement
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
shiftKeysValues(int) - Method in class squidpony.squidmath.MultiArrangement
Shifts left entries with the specified hash code, starting at the specified position, and empties the resulting free entry.
show() - Method in class squidpony.SquidStorage
Gets a String representation of the data that would be saved when SquidStorage.store(String) is called.
show() - Method in class squidpony.store.json.JsonStorage
Gets a String representation of the data that would be saved when JsonStorage.store(String) is called.
show() - Method in class squidpony.store.text.TextStorage
Gets a String representation of the data that would be saved when TextStorage.store(String) is called.
shuffle(IRNG) - Method in class squidpony.squidmath.BundleBiMap
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.
shuffle(IRNG) - Method in class squidpony.squidmath.BundleBundleBiMap
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.
shuffle(IRNG) - Method in class squidpony.squidmath.MultiArrangement
Randomly alters the iteration order for this MultiArrangement using the given IRNG to shuffle.
shuffle(IRNG) - Method in class squidpony.squidmath.MultiKey
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.
singleAt(int) - Method in class squidpony.squidmath.BundleBiMap
Given an index to look up, gets the S key present at that position in the ordering.
size() - Method in class squidpony.squidmath.BundleBiMap
Gets the total number of bundle-to-single pairs in this BundleBiMap.
size() - Method in class squidpony.squidmath.BundleBundleBiMap
Gets the total number of bundle-to-single pairs in this BundleBiMap.
size() - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
size - Variable in class squidpony.squidmath.MultiArrangement
Number of entries in the set (including the key zero, if present).
size() - Method in class squidpony.squidmath.MultiArrangement
 
size() - Method in class squidpony.squidmath.MultiArrangement.ValueCollection
 
size() - Method in class squidpony.squidmath.MultiKey
 
squidpony - package squidpony
The default conversion, compression, and storage classes are here; they delegate to the classes in squidpony.store.json.
squidpony.squidmath - package squidpony.squidmath
Rarely-used data structures removed from squidlib-util and put in squidlib-extra in case they can be useful.
squidpony.store.json - package squidpony.store.json
Conversion, compression,and storage (to libGDX Preferences) using JSON as the stored type.
squidpony.store.text - package squidpony.store.text
Conversion, compression,and storage (to libGDX Preferences) using an experimental custom format as the stored type.
SquidStorage - Class in squidpony
Helps games store information in libGDX's Preferences class as Strings, then get it back out.
SquidStorage() - Constructor for class squidpony.SquidStorage
Please don't use this constructor if possible; it simply calls SquidStorage(String) with the constant String "nameless".
SquidStorage(String) - Constructor for class squidpony.SquidStorage
Creates a SquidStorage with the given fileName to save using Preferences from libGDX.
SquidStorage(String, String) - Constructor for class squidpony.SquidStorage
Creates a SquidStorage with the given fileName to save using Preferences from libGDX.
SquidStorage(String, long[]) - Constructor for class squidpony.SquidStorage
Creates a SquidStorage with the given fileName to save using Preferences from libGDX.
storageName - Variable in class squidpony.store.json.JsonStorage
 
storageName - Variable in class squidpony.store.text.TextStorage
 
store(String) - Method in class squidpony.SquidStorage
Actually stores all objects that had previously been prepared with SquidStorage.put(String, Object), with outerName used as a key to retrieve any object in the current group.
store(String) - Method in class squidpony.store.json.JsonStorage
Actually stores all objects that had previously been prepared with JsonStorage.put(String, Object), with outerName used as a key to retrieve any object in the current group.
store(String) - Method in class squidpony.store.text.TextStorage
Actually stores all objects that had previously been prepared with TextStorage.put(String, Object, StringConvert), with outerName used as a key to retrieve any object in the current group.
StringStringMap - Class in squidpony
Created by Tommy Ettinger on 1/2/2017.
StringStringMap() - Constructor for class squidpony.StringStringMap
 
StringStringMap(int, float) - Constructor for class squidpony.StringStringMap
 
StringStringMap(Collection<String>, Collection<String>, float) - Constructor for class squidpony.StringStringMap
 
subMap(K, K) - Method in class squidpony.squidmath.MultiArrangement
 
swap(K, K) - Method in class squidpony.squidmath.MultiArrangement
Swaps the positions in the ordering for the given items, if they are both present.
swapIndices(int, int) - Method in class squidpony.squidmath.MultiArrangement
Swaps the given indices in the ordering, if they are both ints between 0 and size.

T

tailMap(K) - Method in class squidpony.squidmath.MultiArrangement
 
take(int) - Method in class squidpony.squidmath.MultiArrangement
Produces a copy of this MultiArrangement, but only using up to the given amount of items to take.
TextStorage - Class in squidpony.store.text
Helps games store information in libGDX's Preferences class as Strings, then get it back out.
TextStorage() - Constructor for class squidpony.store.text.TextStorage
Please don't use this constructor if possible; it simply calls TextStorage(String) with the constant String "nameless".
TextStorage(String) - Constructor for class squidpony.store.text.TextStorage
Creates a JsonStorage with the given fileName to save using Preferences from libGDX.
TextStorage(String, String) - Constructor for class squidpony.store.text.TextStorage
Creates a JsonStorage with the given fileName to save using Preferences from libGDX.
TextStorage(String, long[]) - Constructor for class squidpony.store.text.TextStorage
Creates a JsonStorage with the given fileName to save using Preferences from libGDX.
toArray(T[]) - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
toArray() - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
toJson(Object, Class, Class) - Method in class squidpony.DataCompressor
 
toJson(Object, Class, Class, FileHandle) - Method in class squidpony.DataCompressor
 
toJson(Object, Class, Class, Writer) - Method in class squidpony.DataCompressor
Deprecated.
toJson(Object, Class, Class) - Method in class squidpony.store.json.JsonCompressor
 
toJson(Object, Class, Class, FileHandle) - Method in class squidpony.store.json.JsonCompressor
 
toJson(Object, Class, Class, Writer) - Method in class squidpony.store.json.JsonCompressor
Deprecated.
toString() - Method in class squidpony.squidmath.JavaRNG
 
toString() - Method in class squidpony.squidmath.MultiArrangement.KeyList
 
toString() - Method in class squidpony.squidmath.MultiArrangement
 
trim() - Method in class squidpony.squidmath.MultiArrangement
Rehashes the map, making the table as small as possible.
trim(int) - Method in class squidpony.squidmath.MultiArrangement
Rehashes this map if the table is too large.

U

unwrap(MultiArrangement<K>.KeyIterator, Object[], int, int) - Method in class squidpony.squidmath.MultiArrangement.KeyList
Unwraps an iterator into an array starting at a given offset for a given number of elements.
unwrap(MultiArrangement<K>.KeyIterator, Object[]) - Method in class squidpony.squidmath.MultiArrangement.KeyList
Unwraps an iterator into an array.

V

value - Variable in class squidpony.squidmath.MultiArrangement
The array of values.
ValueCollection() - Constructor for class squidpony.squidmath.MultiArrangement.ValueCollection
 
valueCount() - Method in class squidpony.squidmath.MultiKey
 
ValueIterator() - Constructor for class squidpony.squidmath.MultiArrangement.ValueIterator
 
values - Variable in class squidpony.squidmath.MultiArrangement
Cached collection of values.
values() - Method in class squidpony.squidmath.MultiArrangement
 
valuesAsArray() - Method in class squidpony.squidmath.MultiArrangement
 
valuesAsIntVLA() - Method in class squidpony.squidmath.MultiArrangement
 
valuesAsList() - Method in class squidpony.squidmath.MultiArrangement
 
variationFromCode(int[][]) - Method in class squidpony.squidmath.BundleBiMap
Given a coded bundle as produced by some methods in this class, decodes the variation part of the bundle, if present, and returns it as a newly-allocated 1D int array.
variationFromCode(int[][]) - Method in class squidpony.squidmath.BundleBundleBiMap
Given a coded bundle as produced by some methods in this class, decodes the variation part of the bundle, if present, and returns it as a newly-allocated 1D int array.
VERY_FAST_LOAD_FACTOR - Static variable in class squidpony.squidmath.MultiArrangement
The load factor for a (usually very small) table that is meant to be extremely fast.
A B C D E F G H I J K L M N O P R S T U V 
Skip navigation links

Copyright © Eben Howard 2012–2022. All rights reserved.