|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.fastutil.longs.AbstractLongCollection
it.unimi.dsi.fastutil.longs.AbstractLongList
it.unimi.dsi.util.AbstractLongBigList
it.unimi.dsi.util.AbstractLongBigList.LongSubBigList
protected static class AbstractLongBigList.LongSubBigList
Nested Class Summary |
---|
Nested classes/interfaces inherited from class it.unimi.dsi.util.AbstractLongBigList |
---|
AbstractLongBigList.LongSubBigList |
Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.longs.AbstractLongList |
---|
AbstractLongList.LongSubList |
Field Summary | |
---|---|
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 Summary | |
---|---|
AbstractLongBigList.LongSubBigList(LongBigList l,
long from,
long to)
|
Method Summary | |
---|---|
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. |
LongListIterator |
listIterator(int index)
|
long |
removeLong(long index)
Removes the long at the given position. |
long |
set(int index,
long k)
|
Methods inherited from class it.unimi.dsi.util.AbstractLongBigList |
---|
add, ensureIndex, ensureRestrictedIndex, getLong, length, set, size, subList |
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongList |
---|
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 |
Methods inherited from class it.unimi.dsi.fastutil.longs.AbstractLongCollection |
---|
add, contains, containsAll, containsAll, isEmpty, longIterator, rem, removeAll, removeAll, retainAll, retainAll, toArray, toArray, toArray, toLongArray, toLongArray |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongList |
---|
addAll, addAll, addAll, addElements, addElements, getElements, indexOf, iterator, lastIndexOf, listIterator, longListIterator, longListIterator, longSubList, removeElements, removeLong, size, subList |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, removeAll, retainAll, set, toArray, toArray |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface it.unimi.dsi.fastutil.longs.LongCollection |
---|
addAll, contains, containsAll, longIterator, rem, removeAll, retainAll, toArray, toArray, toLongArray, toLongArray |
Methods inherited from interface it.unimi.dsi.fastutil.Stack |
---|
isEmpty |
Field Detail |
---|
public static final long serialVersionUID
protected final LongBigList l
protected final long from
protected long to
Constructor Detail |
---|
public AbstractLongBigList.LongSubBigList(LongBigList l, long from, long to)
Method Detail |
---|
public boolean add(long k)
add
in interface LongCollection
add
in class AbstractLongList
public void add(int index, long k)
add
in interface LongList
add
in class 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 LongList
set
in class AbstractLongList
public void clear()
clear
in interface java.util.Collection<java.lang.Long>
clear
in interface java.util.List<java.lang.Long>
clear
in class AbstractLongCollection
public long length()
LongBigList
length
in interface LongBigList
List.size()
public LongListIterator listIterator(int index)
listIterator
in interface LongList
listIterator
in interface java.util.List<java.lang.Long>
listIterator
in class AbstractLongList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |