public final class RangeHolder extends AbstractList<Object> implements ListHolder, RandomAccess, Cloneable, Serializable
modCount| Constructor and Description |
|---|
RangeHolder(long first,
long last)
Creates new instance of
RangeHolder. |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
contains(Object o) |
Object |
get(int index) |
long |
getFirst()
Returns the first element in this range.
|
String |
getId()
Returns the id of the holder if present.
|
Type |
getItemType()
Returns the type of the items stored in this collection.
|
long |
getLast()
Returns the last element in this range.
|
ValueHolder |
getNotCompiledValueHolder() |
ListType |
getType()
Returns the type of the holder.
|
int |
indexOf(Object o) |
int |
lastIndexOf(Object o) |
int |
size() |
List<Object> |
subList(int fromIndex,
int toIndex) |
String |
toString() |
add, add, addAll, clear, equals, hashCode, iterator, listIterator, listIterator, remove, removeRange, setaddAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayfinalize, getClass, notify, notifyAll, wait, wait, waitadd, add, addAll, addAll, clear, containsAll, equals, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic RangeHolder(long first,
long last)
RangeHolder.first - last - public String toString()
toString in class AbstractCollection<Object>public long getFirst()
public long getLast()
public ListType getType()
ValueHoldergetType in interface ListHoldergetType in interface ValueHolderpublic String getId()
ValueHoldergetId in interface ValueHolderpublic ValueHolder getNotCompiledValueHolder()
getNotCompiledValueHolder in interface ValueHolderpublic Type getItemType()
CollectionHoldergetItemType in interface CollectionHolderpublic Object get(int index)
public int size()
size in interface Collection<Object>size in interface List<Object>size in class AbstractCollection<Object>public boolean contains(Object o)
contains in interface Collection<Object>contains in interface List<Object>contains in class AbstractCollection<Object>public int indexOf(Object o)
public int lastIndexOf(Object o)
lastIndexOf in interface List<Object>lastIndexOf in class AbstractList<Object>Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.