public final class ValueImpl extends AbstractAny implements Value
Any.ValueType_valueType| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
asBoolean() |
java.util.Date |
asDate() |
java.util.Date |
asDateTime() |
java.lang.Double |
asDouble() |
java.lang.Long |
asLong() |
AnySeq |
asSeq()
returns this Any as an
AnySeq object or throws an InvalidValueTypeException. |
java.lang.String |
asString() |
Value |
asValue()
returns this Any as an
Value object or throws an InvalidValueTypeException. |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getObject() |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<Any> |
iterator() |
int |
size() |
java.lang.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, isValuepublic java.lang.Double asDouble()
public java.lang.Long asLong()
public java.lang.Boolean asBoolean()
public java.util.Date asDate()
public java.util.Date asDateTime()
asDateTime in interface Valuepublic java.lang.String asString()
public java.lang.Object getObject()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.util.Iterator<Any> iterator()
public boolean isEmpty()
public int size()
public Value asValue()
Value object or throws an InvalidValueTypeException.asValue in interface AnyasValue in class AbstractAnyAny.asValue()public AnySeq asSeq()
AbstractAnyAnySeq object or throws an InvalidValueTypeException.asSeq in interface AnyasSeq in class AbstractAnyAny.asSeq()