public class DoubleLists
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static speiger.src.collections.doubles.utils.DoubleLists.EmptyList |
EMPTY
Empty List reference
|
| Constructor and Description |
|---|
DoubleLists() |
| Modifier and Type | Method and Description |
|---|---|
static speiger.src.collections.doubles.utils.DoubleLists.EmptyList |
emptyList()
Returns a Immutable EmptyList instance that is automatically casted.
|
static DoubleList |
singletonList(double element)
Creates a Unmodifiable Singleton list
|
static DoubleList |
synchronizedList(DoubleList l)
Returns a synchronized List instance based on the instance given.
|
static DoubleList |
synchronizedList(DoubleList l,
java.lang.Object mutex)
Returns a synchronized List instance based on the instance given.
|
static DoubleList |
unmodifiableList(DoubleList l)
Returns a Immutable List instance based on the instance given.
|
public static final speiger.src.collections.doubles.utils.DoubleLists.EmptyList EMPTY
public static speiger.src.collections.doubles.utils.DoubleLists.EmptyList emptyList()
public static DoubleList unmodifiableList(DoubleList l)
l - that should be made immutable/unmodifyablepublic static DoubleList synchronizedList(DoubleList l)
l - that should be synchronizedpublic static DoubleList synchronizedList(DoubleList l, java.lang.Object mutex)
l - that should be synchronizedmutex - is the controller of the synchronization block.public static DoubleList singletonList(double element)
element - that should be used in the Singleton