| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.longs |
Provides type-specific classes for long elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLongBigList
An abstract class providing basic methods for big lists implementing a type-specific big list interface.
|
static class |
AbstractLongBigList.LongSubList
A class implementing a sublist view.
|
class |
LongBigArrayBigList
A type-specific big list based on a big array; provides some additional methods that use polymorphism to avoid (un)boxing.
|
static class |
LongBigLists.EmptyBigList
An immutable class representing an empty type-specific big list.
|
static class |
LongBigLists.ListBigList
A class exposing a list as a big list.
|
static class |
LongBigLists.Singleton
An immutable class representing a type-specific singleton big list.
|
static class |
LongBigLists.SynchronizedBigList
A synchronized wrapper class for big lists.
|
static class |
LongBigLists.UnmodifiableBigList
An unmodifiable wrapper class for big lists.
|
| Modifier and Type | Field and Description |
|---|---|
protected LongBigList |
AbstractLongBigList.LongSubList.l
The list this sublist restricts.
|
protected LongBigList |
LongBigLists.SynchronizedBigList.list |
protected LongBigList |
LongBigLists.UnmodifiableBigList.list |
| Modifier and Type | Method and Description |
|---|---|
static LongBigList |
LongBigLists.asBigList(LongList list)
Returns a big list backed by the specified list.
|
static LongBigList |
LongBigLists.shuffle(LongBigList l,
Random random)
Shuffles the specified big list using the specified pseudorandom number generator.
|
static LongBigList |
LongBigLists.singleton(long element)
Returns a type-specific immutable big list containing only the specified element.
|
static LongBigList |
LongBigLists.singleton(Object element)
Returns a type-specific immutable big list containing only the specified element.
|
LongBigList |
LongBigList.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. |
LongBigList |
LongBigLists.EmptyBigList.subList(long from,
long to) |
LongBigList |
LongBigLists.Singleton.subList(long from,
long to) |
LongBigList |
LongBigLists.SynchronizedBigList.subList(long from,
long to) |
LongBigList |
LongBigLists.UnmodifiableBigList.subList(long from,
long to) |
LongBigList |
LongBigLists.ListBigList.subList(long from,
long to) |
LongBigList |
AbstractLongBigList.subList(long from,
long to) |
LongBigList |
AbstractLongBigList.LongSubList.subList(long from,
long to) |
static LongBigList |
LongBigLists.synchronize(LongBigList l)
Returns a synchronized type-specific big list backed by the given type-specific big list.
|
static LongBigList |
LongBigLists.synchronize(LongBigList 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 LongBigList |
LongBigLists.unmodifiable(LongBigList l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LongBigList.addAll(LongBigList c)
Appends all of the elements in the specified type-specific big list to the end of this type-specific big list (optional operation).
|
boolean |
LongBigLists.EmptyBigList.addAll(LongBigList c) |
boolean |
LongBigLists.Singleton.addAll(LongBigList c) |
boolean |
LongBigLists.SynchronizedBigList.addAll(LongBigList l) |
boolean |
LongBigLists.UnmodifiableBigList.addAll(LongBigList l) |
boolean |
LongBigLists.ListBigList.addAll(LongBigList c) |
boolean |
AbstractLongBigList.addAll(LongBigList l)
Appends all of the elements in the specified type-specific big list to the end of this type-specific big list (optional operation).
|
boolean |
LongBigList.addAll(long index,
LongBigList c)
Inserts all of the elements in the specified type-specific big list into this type-specific big list at the specified position (optional operation).
|
boolean |
LongBigLists.EmptyBigList.addAll(long i,
LongBigList c) |
boolean |
LongBigLists.Singleton.addAll(long i,
LongBigList c) |
boolean |
LongBigLists.SynchronizedBigList.addAll(long index,
LongBigList l) |
boolean |
LongBigLists.UnmodifiableBigList.addAll(long index,
LongBigList l) |
boolean |
LongBigLists.ListBigList.addAll(long index,
LongBigList c) |
boolean |
AbstractLongBigList.addAll(long index,
LongBigList l)
Inserts all of the elements in the specified type-specific big list into this type-specific big list at the specified position (optional operation).
|
boolean |
AbstractLongBigList.LongSubList.addAll(long index,
LongBigList l) |
static LongBigList |
LongBigLists.shuffle(LongBigList l,
Random random)
Shuffles the specified big list using the specified pseudorandom number generator.
|
static LongBigList |
LongBigLists.synchronize(LongBigList l)
Returns a synchronized type-specific big list backed by the given type-specific big list.
|
static LongBigList |
LongBigLists.synchronize(LongBigList 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 LongBigList |
LongBigLists.unmodifiable(LongBigList l)
Returns an unmodifiable type-specific big list backed by the given type-specific big list.
|
| Constructor and Description |
|---|
LongBigArrayBigList(LongBigList l)
Creates a new big-array big list and fills it with a given type-specific list.
|
LongSubList(LongBigList l,
long from,
long to) |
SynchronizedBigList(LongBigList l) |
SynchronizedBigList(LongBigList l,
Object sync) |
UnmodifiableBigList(LongBigList l) |
Copyright © 2020. All rights reserved.