| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.ints |
Provides type-specific classes for integer elements or keys.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIntList
An abstract class providing basic methods for lists implementing a type-specific list interface.
|
static class |
AbstractIntList.IntSubList |
class |
IntArrayList
A type-specific array-based list; provides some additional methods that use polymorphism to avoid (un)boxing.
|
static class |
IntLists.EmptyList
An immutable class representing an empty type-specific list.
|
static class |
IntLists.Singleton
An immutable class representing a type-specific singleton list.
|
static class |
IntLists.SynchronizedList
A synchronized wrapper class for lists.
|
static class |
IntLists.UnmodifiableList
An unmodifiable wrapper class for lists.
|
| Modifier and Type | Field and Description |
|---|---|
protected IntList |
AbstractIntList.IntSubList.l
The list this sublist restricts.
|
protected IntList |
IntLists.SynchronizedList.list |
protected IntList |
IntLists.UnmodifiableList.list |
| Modifier and Type | Method and Description |
|---|---|
IntList |
AbstractIntList.intSubList(int from,
int to)
Deprecated.
|
IntList |
IntLists.EmptyList.intSubList(int from,
int to)
Deprecated.
|
IntList |
IntLists.SynchronizedList.intSubList(int from,
int to)
Deprecated.
|
IntList |
IntLists.UnmodifiableList.intSubList(int from,
int to)
Deprecated.
|
IntList |
IntList.intSubList(int from,
int to)
Deprecated.
As of
fastutil 5, replaced by subList(int,int). |
static IntList |
IntIterators.pour(IntIterator i)
Pours an iterator, returning a type-specific list.
|
static IntList |
IntIterators.pour(IntIterator i,
int max)
Pours an iterator, returning a type-specific list, with a limit on the number of elements.
|
static IntList |
IntLists.shuffle(IntList l,
Random random)
Shuffles the specified list using the specified pseudorandom number generator.
|
static IntList |
IntLists.singleton(int element)
Returns a type-specific immutable list containing only the specified element.
|
static IntList |
IntLists.singleton(Object element)
Returns a type-specific immutable list containing only the specified element.
|
IntList |
AbstractIntList.subList(int from,
int to) |
IntList |
AbstractIntList.IntSubList.subList(int from,
int to) |
IntList |
IntLists.EmptyList.subList(int from,
int to) |
IntList |
IntLists.Singleton.subList(int from,
int to) |
IntList |
IntLists.SynchronizedList.subList(int from,
int to) |
IntList |
IntLists.UnmodifiableList.subList(int from,
int to) |
IntList |
IntList.subList(int from,
int to)
Returns a type-specific view of the portion of this list from the index
from, inclusive, to the index to, exclusive. |
static IntList |
IntLists.synchronize(IntList l)
Returns a synchronized type-specific list backed by the given type-specific list.
|
static IntList |
IntLists.synchronize(IntList l,
Object sync)
Returns a synchronized type-specific list backed by the given type-specific list, using an assigned object to synchronize.
|
static IntList |
IntLists.unmodifiable(IntList l)
Returns an unmodifiable type-specific list backed by the given type-specific list.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IntArrayList.addAll(int index,
IntList l) |
boolean |
AbstractIntList.addAll(int index,
IntList l)
Delegates to a more generic method.
|
boolean |
AbstractIntList.IntSubList.addAll(int index,
IntList l) |
boolean |
IntLists.EmptyList.addAll(int i,
IntList c) |
boolean |
IntLists.SynchronizedList.addAll(int index,
IntList l) |
boolean |
IntLists.UnmodifiableList.addAll(int index,
IntList l) |
boolean |
IntList.addAll(int index,
IntList c) |
boolean |
AbstractIntList.addAll(IntList l) |
boolean |
IntLists.EmptyList.addAll(IntList c) |
boolean |
IntLists.SynchronizedList.addAll(IntList l) |
boolean |
IntLists.UnmodifiableList.addAll(IntList l) |
boolean |
IntList.addAll(IntList c) |
boolean |
AbstractIntBigList.IntSubList.addAll(long index,
IntList l) |
static IntBigList |
IntBigLists.asBigList(IntList list)
Returns a big list backed by the specified list.
|
static IntList |
IntLists.shuffle(IntList l,
Random random)
Shuffles the specified list using the specified pseudorandom number generator.
|
static IntList |
IntLists.synchronize(IntList l)
Returns a synchronized type-specific list backed by the given type-specific list.
|
static IntList |
IntLists.synchronize(IntList l,
Object sync)
Returns a synchronized type-specific list backed by the given type-specific list, using an assigned object to synchronize.
|
static IntList |
IntLists.unmodifiable(IntList l)
Returns an unmodifiable type-specific list backed by the given type-specific list.
|
| Constructor and Description |
|---|
AbstractIntList.IntSubList(IntList l,
int from,
int to) |
IntArrayList(IntList l)
Creates a new array list and fills it with a given type-specific list.
|
IntBigLists.ListBigList(IntList list) |
IntLists.SynchronizedList(IntList l) |
IntLists.SynchronizedList(IntList l,
Object sync) |
IntLists.UnmodifiableList(IntList l) |
Copyright © 2013. All Rights Reserved.