|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object velosurf.sql.ReadOnlyMap
public class ReadOnlyMap
A wrapper implementing the Map interface for some objets having only getters.
Only get(key)
and keySet()
are implemented.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary | |
---|---|
private RowHandler |
source
|
Constructor Summary | |
---|---|
ReadOnlyMap(RowHandler source)
Constructor. |
Method Summary | |
---|---|
void |
clear()
Not implemented. |
boolean |
containsKey(java.lang.Object key)
Not implemented. |
boolean |
containsValue(java.lang.Object value)
Not implemented. |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> |
entrySet()
Not implemented. |
java.lang.Object |
get(java.lang.Object key)
Get a value by key. |
boolean |
isEmpty()
Not implemented. |
java.util.Set<java.lang.String> |
keySet()
Returns the set of keys. |
java.lang.Object |
put(java.lang.String query,
java.lang.Object key)
Not implemented. |
void |
putAll(java.util.Map<? extends java.lang.String,? extends java.lang.Object> map)
Not implemented. |
java.lang.Object |
remove(java.lang.Object key)
Not implemented. |
int |
size()
Not implemented. |
java.util.Collection<java.lang.Object> |
values()
Not implemented. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Field Detail |
---|
private RowHandler source
Constructor Detail |
---|
public ReadOnlyMap(RowHandler source)
source
- the wrapped row handlerMethod Detail |
---|
public int size()
size
in interface java.util.Map<java.lang.String,java.lang.Object>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.lang.String,java.lang.Object>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.lang.String,java.lang.Object>
key
-
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<java.lang.String,java.lang.Object>
value
-
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map<java.lang.String,java.lang.Object>
key
- value key
public java.lang.Object put(java.lang.String query, java.lang.Object key)
put
in interface java.util.Map<java.lang.String,java.lang.Object>
query
- key
-
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.String,java.lang.Object>
key
-
public void putAll(java.util.Map<? extends java.lang.String,? extends java.lang.Object> map)
putAll
in interface java.util.Map<java.lang.String,java.lang.Object>
map
- public void clear()
clear
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.util.Set<java.lang.String> keySet()
keySet
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.util.Collection<java.lang.Object> values()
values
in interface java.util.Map<java.lang.String,java.lang.Object>
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.String,java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |