T - typeV - valuepublic class ObjectProxy<T,V> extends Object implements Map<T,V>, IExternalizable
ObjectProxy compatibility class.| Constructor and Description |
|---|
ObjectProxy()
Create new empty proxy.
|
ObjectProxy(Map<T,V> item)
Create proxy for given object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Object |
getType() |
String |
getUid() |
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.
|
void |
setType(Object type) |
void |
setUid(String uid) |
int |
size() |
String |
toString()
Return string representation of the proxied object.
|
Collection<V> |
values() |
void |
writeExternal(IDataOutput output)
Store custom object to stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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()
public boolean containsKey(Object name)
containsKey in interface Map<T,V>name - namepublic boolean containsValue(Object value)
containsValue in interface Map<T,V>public String getUid()
public void setUid(String uid)
uid - the uid to setpublic Object getType()
public void setType(Object type)
type - the type to setCopyright © 2005–2017 Red5. All rights reserved.