|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.dsi.fastutil.floats.FloatBigLists
public class FloatBigLists
A class providing static methods and objects that do useful things with type-specific big lists.
Collections,
BigList| Nested Class Summary | |
|---|---|
static class |
FloatBigLists.EmptyBigList
An immutable class representing an empty type-specific big list. |
static class |
FloatBigLists.ListBigList
A class exposing a list as a big list. |
static class |
FloatBigLists.Singleton
An immutable class representing a type-specific singleton big list. |
static class |
FloatBigLists.SynchronizedBigList
A synchronized wrapper class for big lists. |
static class |
FloatBigLists.UnmodifiableBigList
An unmodifiable wrapper class for big lists. |
| Field Summary | |
|---|---|
static FloatBigLists.EmptyBigList |
EMPTY_BIG_LIST
An empty big list (immutable). |
| Method Summary | |
|---|---|
static FloatBigList |
asBigList(FloatList list)
Returns a big list backed by the specified list. |
static FloatBigList |
shuffle(FloatBigList l,
java.util.Random random)
Shuffles the specified big list using the specified pseudorandom number generator. |
static FloatBigList |
singleton(float element)
Returns a type-specific immutable big list containing only the specified element. |
static FloatBigList |
singleton(java.lang.Object element)
Returns a type-specific immutable big list containing only the specified element. |
static FloatBigList |
synchronize(FloatBigList l)
Returns a synchronized type-specific big list backed by the given type-specific big list. |
static FloatBigList |
synchronize(FloatBigList l,
java.lang.Object sync)
Returns a synchronized type-specific big list backed by the given type-specific big list, using an assigned object to synchronize. |
static FloatBigList |
unmodifiable(FloatBigList l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final FloatBigLists.EmptyBigList EMPTY_BIG_LIST
The class of this objects represent an abstract empty list
that is a sublist of any type of list. Thus, EMPTY_BIG_LIST
may be assigned to a variable of any (sorted) type-specific list.
| Method Detail |
|---|
public static FloatBigList shuffle(FloatBigList l,
java.util.Random random)
l - the big list to be shuffled.random - a pseudorandom number generator (please use a XorShift* generator).
l.public static FloatBigList singleton(float element)
element - the only element of the returned big list.
element.public static FloatBigList singleton(java.lang.Object element)
element - the only element of the returned big list.
element.public static FloatBigList synchronize(FloatBigList l)
l - the big list to be wrapped in a synchronized big list.
Collections.synchronizedList(List)
public static FloatBigList synchronize(FloatBigList l,
java.lang.Object sync)
l - the big list to be wrapped in a synchronized big list.sync - an object that will be used to synchronize the access to the big list.
Collections.synchronizedList(List)public static FloatBigList unmodifiable(FloatBigList l)
l - the big list to be wrapped in an unmodifiable big list.
Collections.unmodifiableList(List)public static FloatBigList asBigList(FloatList list)
list - a list.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||