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 ObjectContext
public byte idxByte(String property)
idxByte
in interface ObjectContext
public short idxShort(String property)
idxShort
in interface ObjectContext
public String idxString(String property)
idxString
in interface ObjectContext
public int idxInt(String property)
idxInt
in interface ObjectContext
public float idxFloat(String property)
idxFloat
in interface ObjectContext
public double idxDouble(String property)
idxDouble
in interface ObjectContext
public long idxLong(String property)
idxLong
in interface ObjectContext
public Object idx(String property)
idx
in interface ObjectContext
public <T> T idx(Class<T> type, String property)
idx
in interface ObjectContext
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Collection values()
Copyright © 2014. All rights reserved.