public final class AnySeqImpl extends AbstractAny implements AnySeq
Any.ValueType_valueType| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Any value) |
void |
add(int index,
Any element) |
boolean |
add(Number n)
Long, Integer, Short and Byte values will be converted to Value object of type LONG, all others to Value object
of type DOUBLE.
|
boolean |
add(String e) |
boolean |
addAll(Collection<? extends Any> c) |
boolean |
addAll(int index,
Collection<? extends Any> c) |
List<Long> |
asLongs()
returns all values as a List of Long.
|
AnySeq |
asSeq()
returns this Any as an
AnySeq object or throws an InvalidValueTypeException. |
List<String> |
asStrings()
returns all values as a List of Strings.
|
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
Any |
get(int index) |
Boolean |
getBooleanValue(int index) |
Date |
getDateTimeValue(int index) |
Date |
getDateValue(int index) |
Double |
getDoubleValue(int index) |
Long |
getLongValue(int index) |
AnyMap |
getMap(int index) |
AnySeq |
getSeq(int index) |
String |
getStringValue(int index) |
Value |
getValue(int index) |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<Any> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Any> |
listIterator() |
ListIterator<Any> |
listIterator(int index) |
Any |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
Any |
set(int index,
Any element) |
int |
size() |
List<Any> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
asMap, asValue, getFactory, getValueType, isBoolean, isDate, isDateTime, isDouble, isLong, isMap, isNumber, isSeq, isString, isValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streamasMap, asValue, getFactory, getValueType, isBoolean, isDate, isDateTime, isDouble, isLong, isMap, isNumber, isSeq, isString, isValuepublic boolean add(Any value)
public boolean add(String e)
public boolean add(Number n)
public void add(int index,
Any element)
public boolean addAll(Collection<? extends Any> c)
public boolean addAll(int index,
Collection<? extends Any> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Any>containsAll in interface List<Any>public boolean isEmpty()
public Iterator<Any> iterator()
iterator in interface Anyiterator in interface Iterable<Any>iterator in interface Collection<Any>iterator in interface List<Any>Value, this return an iterator about the value itself. For
AnyMap it returns an iterator on the values.public int lastIndexOf(Object o)
lastIndexOf in interface List<Any>public ListIterator<Any> listIterator()
listIterator in interface List<Any>public ListIterator<Any> listIterator(int index)
listIterator in interface List<Any>public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public AnyMap getMap(int index)
public AnySeq getSeq(int index)
public Value getValue(int index)
public String getStringValue(int index)
getStringValue in interface AnySeqindex - The index of the object to returnpublic Double getDoubleValue(int index)
getDoubleValue in interface AnySeqindex - The index of the object to returnpublic Long getLongValue(int index)
getLongValue in interface AnySeqindex - The index of the object to returnpublic Boolean getBooleanValue(int index)
getBooleanValue in interface AnySeqindex - The index of the object to returnpublic Date getDateValue(int index)
getDateValue in interface AnySeqindex - The index of the object to returnpublic Date getDateTimeValue(int index)
getDateTimeValue in interface AnySeqindex - The index of the object to returnpublic int hashCode()
public boolean equals(Object obj)
public AnySeq asSeq()
AnySeq object or throws an InvalidValueTypeException.asSeq in interface AnyasSeq in class AbstractAnyorg.eclipse.smila.datamodel.Any#asSeq()Copyright © 2019. All rights reserved.