public class BasicContext extends Object implements ObjectContext, Map
| Constructor and Description |
|---|
BasicContext(Object root) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry> |
entrySet() |
Object |
get(Object key) |
<T> T |
idx(Class<T> type,
String property) |
Object |
idx(String property) |
byte |
idxByte(String property) |
char |
idxChar(String property) |
double |
idxDouble(String property) |
float |
idxFloat(String property) |
int |
idxInt(String property) |
long |
idxLong(String property) |
short |
idxShort(String property) |
String |
idxString(String property) |
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map m) |
Object |
remove(Object key) |
int |
size() |
Collection |
values() |
public BasicContext(Object root)
public char idxChar(String property)
idxChar in interface ObjectContextpublic byte idxByte(String property)
idxByte in interface ObjectContextpublic short idxShort(String property)
idxShort in interface ObjectContextpublic String idxString(String property)
idxString in interface ObjectContextpublic int idxInt(String property)
idxInt in interface ObjectContextpublic float idxFloat(String property)
idxFloat in interface ObjectContextpublic double idxDouble(String property)
idxDouble in interface ObjectContextpublic long idxLong(String property)
idxLong in interface ObjectContextpublic Object idx(String property)
idx in interface ObjectContextpublic <T> T idx(Class<T> type, String property)
idx in interface ObjectContextpublic boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic Collection values()
Copyright © 2014. All rights reserved.