public class ConcatList<V> extends IList.Mixin<V>
IList.Durable<V>, IList.Mixin<V>
hash
Constructor and Description |
---|
ConcatList(IList<V> list) |
ConcatList(IList<V> a,
IList<V> b) |
Modifier and Type | Method and Description |
---|---|
IList<V> |
concat(IList<V> l) |
Iterator<V> |
iterator() |
V |
nth(long idx) |
IList<V> |
set(long idx,
V value) |
long |
size() |
IList<V> |
slice(long start,
long end) |
clone, equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
addFirst, addLast, diff, equals, first, forked, isLinear, iterator, last, linear, removeFirst, removeLast, save, split, spliterator, stream, toArray, toArray, toList, update
nth
public V nth(long idx)
idx
public IList<V> set(long idx, V value)
idx
overwritten with value
. If idx
is equal to
ICollection.size()
, the value is appended.public long size()
public IList<V> slice(long start, long end)
start
- the inclusive start of the rangeend
- the exclusive end of the range[start, end)
, which is linear if this
is linear