| Constructor and Description |
|---|
Sequence()
Constructs an empty sequence of values.
|
Sequence(List<Value> values)
Constructs a sequence with the ordered value
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Value object) |
boolean |
add(Value object) |
boolean |
addAll(Collection<? extends Value> vals) |
boolean |
addAll(int index,
Collection<? extends Value> vals) |
void |
clear() |
boolean |
contains(Object object) |
boolean |
containsAll(Collection<?> vals) |
boolean |
equals(Object object) |
Value |
get(int index) |
Value |
getValue(int index) |
int |
hashcode() |
int |
indexOf(Object object) |
boolean |
isEmpty() |
Iterator<Value> |
iterator() |
int |
lastIndexOf(Object object) |
ListIterator<Value> |
listIterator() |
ListIterator<Value> |
listIterator(int index) |
String |
normalize() |
Value |
remove(int index) |
boolean |
remove(Object object) |
boolean |
removeAll(Collection<?> vals) |
Scalar |
removeScalar(int index) |
boolean |
retainAll(Collection<?> vals) |
Value |
set(int index,
Value value) |
int |
size() |
List<Value> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] objects) |
String |
toString() |
String |
toString(boolean retainQuotes)
Provides a string representation of the Sequence with single or double
quotes surrounding each value if the retainQuotes flag is set to true and
the ValueType was SINGLE_QUOTED or DOUBLE_QUOTED for a value.
|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic boolean containsAll(Collection<?> vals)
containsAll in interface Collection<Value>containsAll in interface List<Value>public boolean addAll(Collection<? extends Value> vals)
public boolean addAll(int index,
Collection<? extends Value> vals)
public boolean removeAll(Collection<?> vals)
public boolean retainAll(Collection<?> vals)
public void clear()
public Value getValue(int index)
public Scalar removeScalar(int index)
public ListIterator<Value> listIterator()
listIterator in interface List<Value>public ListIterator<Value> listIterator(int index)
listIterator in interface List<Value>public boolean contains(Object object)
public <T> T[] toArray(T[] objects)
public boolean add(Value object)
public boolean remove(Object object)
public int lastIndexOf(Object object)
lastIndexOf in interface List<Value>public Object[] toArray()
public int size()
public boolean isEmpty()
public String toString(boolean retainQuotes)
retainQuotes - Set to true to return the value with quotes surrounding it if it
was originally there in the label.public boolean equals(Object object)
public int hashcode()
Copyright © 2019. All rights reserved.