Uses of Class
squidpony.squidmath.Arrangement
| Package | Description |
|---|---|
| squidpony |
Utilities that don't fit elsewhere in SquidLib; mostly text manipulation, compression, and helper code.
|
| squidpony.squidgrid.mapping |
Tools specifically for generating maps and placing content in them, usually working with 2D char arrays.
|
| squidpony.squidmath |
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
|
-
Uses of Arrangement in squidpony
Fields in squidpony declared as Arrangement Modifier and Type Field Description Arrangement<String>Mnemonic. allAdjectivesArrangement<String>Mnemonic. allNounsArrangement<T>MarkovObject. bodyAll unique T items that this encountered during the latest call toMarkovObject.analyze(Iterable).Arrangement<String>Mnemonic. itemsMethods in squidpony that return Arrangement Modifier and Type Method Description static <T> Arrangement<T>Maker. makeArrange(T... elements)Makes a Arrangement (Arrange) of T given an array or vararg of T elements.Methods in squidpony that return types with arguments of type Arrangement Modifier and Type Method Description static <K> StringConvert<Arrangement<K>>Converters. convertArrangement(CharSequence type)static <K> StringConvert<Arrangement<K>>Converters. convertArrangement(Class<K> type)static <K> StringConvert<Arrangement<K>>Converters. convertArrangement(StringConvert<K> convert) -
Uses of Arrangement in squidpony.squidgrid.mapping
Fields in squidpony.squidgrid.mapping declared as Arrangement Modifier and Type Field Description protected Arrangement<String>SectionMap. names -
Uses of Arrangement in squidpony.squidmath
Fields in squidpony.squidmath declared as Arrangement Modifier and Type Field Description Arrangement<A>K2. keysAArrangement<B>K2. keysBArrangement<T>ProbabilityTable. tableThe set of items that can be produced directly fromProbabilityTable.random()(without additional lookups).Methods in squidpony.squidmath that return Arrangement Modifier and Type Method Description Arrangement<K>Arrangement. clone()Returns a deep copy of this map.Arrangement<K>Arrangement. reorder(int... ordering)Given an array or varargs of replacement indices for this Arrangement's iteration order, reorders this so the first item in the returned version is the same asgetAt(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.Arrangement<K>Arrangement. shuffle(IRNG rng)Randomly alters the iteration order for this Arrangement using the given IRNG to shuffle.Arrangement<K>Arrangement. take(int amount)Produces a copy of this Arrangement, but only using up to the given amount of items to take.Constructors in squidpony.squidmath with parameters of type Arrangement Constructor Description Arrangement(Arrangement<? extends K> a)K2(Arrangement<A> aItems, Arrangement<B> bItems)