public class FloatLists
extends java.lang.Object
| Constructor and Description |
|---|
FloatLists() |
| Modifier and Type | Method and Description |
|---|---|
static speiger.src.collections.floats.utils.FloatLists.EmptyList |
empty()
Returns a Immutable EmptyList instance that is automatically casted.
|
static FloatList |
reverse(FloatList list)
Reverses the list
|
static FloatList |
shuffle(FloatList list)
Shuffles the list
|
static FloatList |
shuffle(FloatList list,
java.util.Random random)
Shuffles the list
|
static FloatList |
singleton(float element)
Creates a Unmodifiable Singleton list
|
static FloatList |
synchronize(FloatList l)
Returns a synchronized List instance based on the instance given.
|
static FloatList |
synchronize(FloatList l,
java.lang.Object mutex)
Returns a synchronized List instance based on the instance given.
|
static FloatList |
unmodifiable(FloatList l)
Returns a Immutable List instance based on the instance given.
|
public static speiger.src.collections.floats.utils.FloatLists.EmptyList empty()
public static FloatList unmodifiable(FloatList l)
l - that should be made immutable/unmodifiablepublic static FloatList synchronize(FloatList l)
l - that should be synchronizedpublic static FloatList synchronize(FloatList l, java.lang.Object mutex)
l - that should be synchronizedmutex - is the controller of the synchronization block.public static FloatList singleton(float element)
element - that should be used in the Singletonpublic static FloatList reverse(FloatList list)
list - that should be reversed.public static FloatList shuffle(FloatList list)
list - that should be Shuffled.