public final class ValueImpl extends AbstractAny implements Value
Any.ValueType_valueType| Modifier and Type | Method and Description |
|---|---|
Boolean |
asBoolean() |
Date |
asDate() |
Date |
asDateTime() |
Double |
asDouble() |
Long |
asLong() |
AnySeq |
asSeq()
returns this Any as an
AnySeq object or throws an InvalidValueTypeException. |
String |
asString() |
Value |
asValue()
returns this Any as an
Value object or throws an InvalidValueTypeException. |
boolean |
equals(Object obj) |
Object |
getObject() |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<Any> |
iterator() |
int |
size() |
String |
toString() |
asMap, getFactory, getValueType, isBoolean, isDate, isDateTime, isDouble, isLong, isMap, isNumber, isSeq, isString, isValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitasMap, getFactory, getValueType, isBoolean, isDate, isDateTime, isDouble, isLong, isMap, isNumber, isSeq, isString, isValueforEach, spliteratorpublic Double asDouble()
public Long asLong()
public Boolean asBoolean()
public Date asDate()
public Date asDateTime()
asDateTime in interface Valuepublic String asString()
public Object getObject()
public String toString()
toString in class ObjectObject.toString()public boolean isEmpty()
public int size()
public Value asValue()
Value object or throws an InvalidValueTypeException.asValue in interface AnyasValue in class AbstractAnyorg.eclipse.smila.datamodel.Any#asValue()public AnySeq asSeq()
AnyAnySeq object or throws an InvalidValueTypeException.asSeq in interface AnyasSeq in class AbstractAnyCopyright © 2019. All rights reserved.