| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.objects |
Provides type-specific classes for object elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractObjectBigList<K>
An abstract class providing basic methods for big lists implementing a type-specific big list interface.
|
static class |
AbstractObjectBigList.ObjectSubList<K>
A class implementing a sublist view.
|
class |
ObjectBigArrayBigList<K>
A type-specific big-array-based big list; provides some additional methods that use polymorphism to avoid (un)boxing.
|
static class |
ObjectBigLists.EmptyBigList<K>
An immutable class representing an empty type-specific big list.
|
static class |
ObjectBigLists.ListBigList<K>
A class exposing a list as a big list.
|
static class |
ObjectBigLists.Singleton<K>
An immutable class representing a type-specific singleton big list.
|
static class |
ObjectBigLists.SynchronizedBigList<K>
A synchronized wrapper class for big lists.
|
static class |
ObjectBigLists.UnmodifiableBigList<K>
An unmodifiable wrapper class for big lists.
|
| Modifier and Type | Field and Description |
|---|---|
protected ObjectBigList<K> |
AbstractObjectBigList.ObjectSubList.l
The list this sublist restricts.
|
protected ObjectBigList<K> |
ObjectBigLists.SynchronizedBigList.list |
protected ObjectBigList<K> |
ObjectBigLists.UnmodifiableBigList.list |
| Modifier and Type | Method and Description |
|---|---|
static <K> ObjectBigList<K> |
ObjectBigLists.asBigList(ObjectList<K> list)
Returns a big list backed by the specified list.
|
static <K> ObjectBigList<K> |
ObjectBigLists.emptyList()
Returns an empty big list (immutable).
|
static <K> ObjectBigList<K> |
ObjectBigLists.shuffle(ObjectBigList<K> l,
Random random)
Shuffles the specified big list using the specified pseudorandom number generator.
|
static <K> ObjectBigList<K> |
ObjectBigLists.singleton(K element)
Returns a type-specific immutable big list containing only the specified element.
|
ObjectBigList<K> |
ObjectBigLists.EmptyBigList.subList(long from,
long to) |
ObjectBigList<K> |
ObjectBigLists.Singleton.subList(long from,
long to) |
ObjectBigList<K> |
ObjectBigLists.SynchronizedBigList.subList(long from,
long to) |
ObjectBigList<K> |
ObjectBigLists.UnmodifiableBigList.subList(long from,
long to) |
ObjectBigList<K> |
ObjectBigLists.ListBigList.subList(long from,
long to) |
ObjectBigList<K> |
ObjectBigList.subList(long from,
long to)
Returns a type-specific view of the portion of this type-specific big list from the index
from, inclusive, to the index to, exclusive. |
ObjectBigList<K> |
AbstractObjectBigList.subList(long from,
long to) |
ObjectBigList<K> |
AbstractObjectBigList.ObjectSubList.subList(long from,
long to) |
static <K> ObjectBigList<K> |
ObjectBigLists.synchronize(ObjectBigList<K> l)
Returns a synchronized type-specific big list backed by the given type-specific big list.
|
static <K> ObjectBigList<K> |
ObjectBigLists.synchronize(ObjectBigList<K> l,
Object sync)
Returns a synchronized type-specific big list backed by the given type-specific big list, using an assigned object to synchronize.
|
static <K> ObjectBigList<K> |
ObjectBigLists.unmodifiable(ObjectBigList<K> l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list.
|
| Modifier and Type | Method and Description |
|---|---|
static <K> ObjectBigList<K> |
ObjectBigLists.shuffle(ObjectBigList<K> l,
Random random)
Shuffles the specified big list using the specified pseudorandom number generator.
|
static <K> ObjectBigList<K> |
ObjectBigLists.synchronize(ObjectBigList<K> l)
Returns a synchronized type-specific big list backed by the given type-specific big list.
|
static <K> ObjectBigList<K> |
ObjectBigLists.synchronize(ObjectBigList<K> l,
Object sync)
Returns a synchronized type-specific big list backed by the given type-specific big list, using an assigned object to synchronize.
|
static <K> ObjectBigList<K> |
ObjectBigLists.unmodifiable(ObjectBigList<K> l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list.
|
| Constructor and Description |
|---|
ObjectBigArrayBigList(ObjectBigList<? extends K> l)
Creates a new big-array big list and fills it with a given type-specific list.
|
ObjectSubList(ObjectBigList<K> l,
long from,
long to) |
SynchronizedBigList(ObjectBigList<K> l) |
SynchronizedBigList(ObjectBigList<K> l,
Object sync) |
UnmodifiableBigList(ObjectBigList<K> l) |
Copyright © 2020. All rights reserved.