|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.compatibility.flex.messaging.io.ObjectProxy<T,V>
T - typeV - valuepublic class ObjectProxy<T,V>
Flex ObjectProxy compatibility class.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
ObjectProxy()
Create new empty proxy. |
|
ObjectProxy(Map<T,V> item)
Create proxy for given object. |
|
| Method Summary | |
|---|---|
void |
clear()
|
boolean |
containsKey(Object name)
Check if proxied object has a given property. |
boolean |
containsValue(Object value)
|
Set<Map.Entry<T,V>> |
entrySet()
|
V |
get(Object name)
Return the value of a property. |
boolean |
isEmpty()
|
Set<T> |
keySet()
|
V |
put(T name,
V value)
Change a property of the proxied object. |
void |
putAll(Map values)
|
void |
readExternal(IDataInput input)
Load custom object from stream. |
V |
remove(Object name)
Remove a property from the proxied object. |
int |
size()
|
String |
toString()
Return string representation of the proxied object. |
Collection<V> |
values()
|
void |
writeExternal(IDataOutput output)
Store custom object to stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public ObjectProxy()
public ObjectProxy(Map<T,V> item)
item - object to proxy| Method Detail |
|---|
public void readExternal(IDataInput input)
readExternal in interface IExternalizableinput - object to be used for data loadingpublic void writeExternal(IDataOutput output)
writeExternal in interface IExternalizableoutput - object to be used for data storingpublic String toString()
toString in class Objectpublic void clear()
clear in interface Map<T,V>public boolean containsKey(Object name)
containsKey in interface Map<T,V>name - name
public boolean containsValue(Object value)
containsValue in interface Map<T,V>public Set<Map.Entry<T,V>> entrySet()
entrySet in interface Map<T,V>public V get(Object name)
get in interface Map<T,V>name - name
public boolean isEmpty()
isEmpty in interface Map<T,V>public Set<T> keySet()
keySet in interface Map<T,V>
public V put(T name,
V value)
put in interface Map<T,V>name - namevalue - value
public void putAll(Map values)
putAll in interface Map<T,V>public V remove(Object name)
remove in interface Map<T,V>name - name
public int size()
size in interface Map<T,V>public Collection<V> values()
values in interface Map<T,V>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||