|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--anvil.core.Any
|
+--anvil.core.AnyAbstractClass
class AnyAbstractClass
| Field Summary |
| Fields inherited from class anvil.core.Any |
_class, ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO |
| Constructor Summary | |
AnyAbstractClass()
|
|
| Method Summary | |
abstract ClassType |
classOf()
Returns the type of this Any. |
void |
doSerialize(Serializer serializer)
|
boolean |
isMutable()
|
void |
serialize(Serializer serializer)
|
static void |
serializeObject(Serializer serializer,
java.lang.Object object)
|
boolean |
toBoolean()
Gets the contained value as boolean. |
java.lang.String |
toString()
Converts contained value into String. |
int |
typeOf()
Returns the type of contained value. |
static Any |
unserialize(Unserializer unserializer)
|
static java.lang.Object |
unserializeObject(Unserializer unserializer)
|
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AnyAbstractClass()
| Method Detail |
public int typeOf()
Any
typeOf in class Anypublic boolean isMutable()
isMutable in class Anypublic abstract ClassType classOf()
Any
classOf in class Anypublic boolean toBoolean()
Anyboolean.
Integer is considered true if it is different from 0.
Double is considered true if it is different from 0.0.
String is considered true if it contains
"true", "on",
"yes" or "1".
toBoolean in class Anypublic java.lang.String toString()
AnyString.
toString in class AnyString.
public void serialize(Serializer serializer)
throws java.io.IOException
serialize in class Anyjava.io.IOException
public void doSerialize(Serializer serializer)
throws java.io.IOException
java.io.IOException
public static Any unserialize(Unserializer unserializer)
throws UnserializationException
UnserializationException
public static java.lang.Object unserializeObject(Unserializer unserializer)
throws UnserializationException
UnserializationException
public static void serializeObject(Serializer serializer,
java.lang.Object object)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||