| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.longs |
Provides type-specific classes for long elements or keys.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LongBidirectionalIterator
A type-specific bidirectional iterator; provides an additional method to avoid (un)boxing,
and the possibility to skip elements backwards.
|
interface |
LongListIterator
A type-specific bidirectional iterator that is also a
ListIterator. |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractLong2ObjectSortedMap.KeySetIterator<V>
A wrapper exhibiting a map iterator as an iterator on keys.
|
class |
AbstractLongBidirectionalIterator
An abstract class facilitating the creation of type-specific bidirectional iterators.
|
class |
AbstractLongIterator
An abstract class facilitating the creation of type-specific iterators.
|
class |
AbstractLongListIterator
An abstract class facilitating the creation of type-specific list iterators.
|
static class |
LongIterators.EmptyIterator
A class returning no elements and a type-specific iterator interface.
|
protected static class |
LongIterators.IntIteratorWrapper
A wrapper promoting the results of an IntIterator.
|
static class |
LongIterators.UnmodifiableBidirectionalIterator
An unmodifiable wrapper class for bidirectional iterators.
|
static class |
LongIterators.UnmodifiableIterator
An unmodifiable wrapper class for iterators.
|
static class |
LongIterators.UnmodifiableListIterator
An unmodifiable wrapper class for list iterators.
|
| Modifier and Type | Field and Description |
|---|---|
protected LongIterator |
LongIterators.UnmodifiableIterator.i |
| Modifier and Type | Method and Description |
|---|---|
static LongIterator |
LongIterators.asLongIterator(Iterator i)
Wraps a standard iterator into a type-specific iterator.
|
static LongIterator |
LongIterators.concat(LongIterator[] a)
Concatenates all iterators contained in an array.
|
static LongIterator |
LongIterators.concat(LongIterator[] a,
int offset,
int length)
Concatenates a sequence of iterators contained in an array.
|
LongIterator |
LongSet.iterator()
Returns a type-specific iterator on the elements of this set.
|
LongIterator |
LongIterable.iterator()
Returns a type-specific iterator.
|
LongIterator |
LongCollections.SynchronizedCollection.iterator() |
LongIterator |
LongCollections.UnmodifiableCollection.iterator() |
LongIterator |
LongCollections.IterableCollection.iterator() |
LongIterator |
LongCollection.iterator()
Returns a type-specific iterator on the elements of this collection.
|
LongIterator |
LongArraySet.iterator() |
abstract LongIterator |
AbstractLongSet.iterator() |
abstract LongIterator |
AbstractLongCollection.iterator() |
LongIterator |
LongLists.EmptyList.longIterator()
Deprecated.
|
LongIterator |
LongCollections.SynchronizedCollection.longIterator()
Deprecated.
|
LongIterator |
LongCollections.UnmodifiableCollection.longIterator()
Deprecated.
|
LongIterator |
LongCollections.IterableCollection.longIterator()
Deprecated.
|
LongIterator |
LongCollection.longIterator()
Deprecated.
As of
fastutil 5, replaced by LongCollection.iterator(). |
LongIterator |
AbstractLongCollection.longIterator()
Deprecated.
|
static LongIterator |
LongIterators.unmodifiable(LongIterator i)
Returns an unmodifiable iterator backed by the specified iterator.
|
static LongIterator |
LongIterators.wrap(IntIterator iterator)
Returns an iterator backed by the specified integer iterator.
|
| Modifier and Type | Method and Description |
|---|---|
static LongIterator |
LongIterators.concat(LongIterator[] a)
Concatenates all iterators contained in an array.
|
static LongIterator |
LongIterators.concat(LongIterator[] a,
int offset,
int length)
Concatenates a sequence of iterators contained in an array.
|
static LongList |
LongIterators.pour(LongIterator i)
Pours an iterator, returning a type-specific list.
|
static LongList |
LongIterators.pour(LongIterator i,
int max)
Pours an iterator, returning a type-specific list, with a limit on the number of elements.
|
static int |
LongIterators.pour(LongIterator i,
LongCollection s)
Pours an iterator into a type-specific collection.
|
static int |
LongIterators.pour(LongIterator i,
LongCollection s,
int max)
Pours an iterator into a type-specific collection, with a limit on the number of elements.
|
static LongIterator |
LongIterators.unmodifiable(LongIterator i)
Returns an unmodifiable iterator backed by the specified iterator.
|
static long[] |
LongIterators.unwrap(LongIterator i)
Unwraps an iterator, returning an array.
|
static long[] |
LongIterators.unwrap(LongIterator i,
int max)
Unwraps an iterator, returning an array, with a limit on the number of elements.
|
static int |
LongIterators.unwrap(LongIterator i,
long[] array)
Unwraps an iterator into an array.
|
static int |
LongIterators.unwrap(LongIterator i,
long[] array,
int offset,
int max)
Unwraps an iterator into an array starting at a given offset for a given number of elements.
|
static long |
LongIterators.unwrap(LongIterator i,
LongCollection c)
Unwraps an iterator into a type-specific collection.
|
static int |
LongIterators.unwrap(LongIterator i,
LongCollection c,
int max)
Unwraps an iterator into a type-specific collection, with a limit on the number of elements.
|
| Constructor and Description |
|---|
LongArrayList(LongIterator i)
Creates a new array list and fills it with the elements returned by a type-specific iterator..
|
UnmodifiableIterator(LongIterator i) |
Copyright © 2016. All rights reserved.