public class TypedObject extends Object
Modifier and Type | Method and Description |
---|---|
<T> T |
as(Class<T> clazz) |
boolean |
asBoolean() |
double |
asDouble() |
int |
asInt() |
List<TypedObject> |
asList() |
<T> List<T> |
asList(Class<T> clazz) |
String |
asString() |
boolean |
equals(Object obj) |
Object |
get() |
int |
hashCode() |
boolean |
isList() |
static TypedObject |
of(Object o) |
String |
toString() |
public static TypedObject of(Object o)
public boolean asBoolean()
public int asInt()
public double asDouble()
public String asString()
public boolean isList()
public List<TypedObject> asList()
public <T> T as(Class<T> clazz)
public Object get()
public int hashCode()
Copyright © 2013. All Rights Reserved.