protected static class AbstractLongBigList.LongSubBigList extends AbstractLongBigList implements Serializable
AbstractLongBigList.LongSubBigList
Modifier and Type | Field and Description |
---|---|
protected long |
from
Initial (inclusive) index of this sublist.
|
protected LongBigList |
l
The list this sublist restricts.
|
static long |
serialVersionUID |
protected long |
to
Final (exclusive) index of this sublist.
|
Constructor and Description |
---|
AbstractLongBigList.LongSubBigList(LongBigList l,
long from,
long to) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
long k) |
boolean |
add(long k) |
void |
clear() |
long |
getLong(long index)
Returns the long at the given position.
|
long |
length()
The number of elements in this big list.
|
it.unimi.dsi.fastutil.longs.LongListIterator |
listIterator(int index) |
long |
removeLong(long index)
Removes the long at the given position.
|
long |
set(int index,
long k) |
add, ensureIndex, ensureRestrictedIndex, getLong, length, set, size, subList
add, addAll, addAll, addAll, addAll, addAll, addAll, addElements, addElements, compareTo, contains, ensureIndex, ensureRestrictedIndex, equals, get, getElements, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, longListIterator, longListIterator, longSubList, peek, peekLong, pop, popLong, push, push, rem, remove, remove, removeElements, removeLong, set, size, subList, top, topLong, toString
add, contains, containsAll, containsAll, isEmpty, longIterator, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, addAll, addAll, addElements, addElements, getElements, indexOf, iterator, lastIndexOf, listIterator, longListIterator, longListIterator, longSubList, removeElements, removeLong, size, subList
add, add, addAll, addAll, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, toArray, toArray
compareTo
public static final long serialVersionUID
protected final LongBigList l
protected final long from
protected long to
public AbstractLongBigList.LongSubBigList(LongBigList l, long from, long to)
public boolean add(long k)
add
in interface it.unimi.dsi.fastutil.longs.LongCollection
add
in interface it.unimi.dsi.fastutil.longs.LongList
add
in class it.unimi.dsi.fastutil.longs.AbstractLongList
public void add(int index, long k)
add
in interface it.unimi.dsi.fastutil.longs.LongList
add
in class it.unimi.dsi.fastutil.longs.AbstractLongList
public long getLong(long index)
LongBigList
getLong
in interface LongBigList
index
- a position in the list.List.get(int)
public long removeLong(long index)
LongBigList
removeLong
in interface LongBigList
removeLong
in class AbstractLongBigList
index
- a position in the list.List.remove(int)
public long set(int index, long k)
set
in interface it.unimi.dsi.fastutil.longs.LongList
set
in class it.unimi.dsi.fastutil.longs.AbstractLongList
public void clear()
clear
in interface Collection<Long>
clear
in interface List<Long>
clear
in class AbstractCollection<Long>
public long length()
LongBigList
length
in interface LongBigList
List.size()
public it.unimi.dsi.fastutil.longs.LongListIterator listIterator(int index)
listIterator
in interface it.unimi.dsi.fastutil.longs.LongList
listIterator
in interface List<Long>
listIterator
in class it.unimi.dsi.fastutil.longs.AbstractLongList
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.