public interface Any extends java.lang.Iterable<Any>
| Modifier and Type | Interface and Description |
|---|---|
static class |
Any.ValueType
Enumeration with the possible value types.
|
| Modifier and Type | Method and Description |
|---|---|
AnyMap |
asMap()
returns this Any as an
AnyMap object or throws an InvalidValueTypeException. |
AnySeq |
asSeq()
returns this Any as an
AnySeq object or throws an InvalidValueTypeException. |
Value |
asValue()
returns this Any as an
Value object or throws an InvalidValueTypeException. |
DataFactory |
getFactory() |
Any.ValueType |
getValueType() |
boolean |
isBoolean() |
boolean |
isDate() |
boolean |
isDateTime() |
boolean |
isDouble() |
boolean |
isEmpty() |
boolean |
isLong() |
boolean |
isMap() |
boolean |
isNumber() |
boolean |
isSeq() |
boolean |
isString() |
boolean |
isValue() |
java.util.Iterator<Any> |
iterator() |
int |
size() |
Any.ValueType getValueType()
boolean isMap()
boolean isSeq()
boolean isValue()
boolean isString()
boolean isDouble()
boolean isBoolean()
boolean isLong()
boolean isDate()
boolean isDateTime()
boolean isNumber()
DataFactory getFactory()
java.util.Iterator<Any> iterator()
boolean isEmpty()
Value: returns always false.int size()
Value this is always 1.Value asValue()
Value object or throws an InvalidValueTypeException.AnyMap asMap()
AnyMap object or throws an InvalidValueTypeException.AnySeq asSeq()
AnySeq object or throws an InvalidValueTypeException.