Package gw.lang.reflect
Class PropertyNameMap<T extends java.lang.CharSequence>
- java.lang.Object
-
- gw.lang.reflect.PropertyNameMap<T>
-
- All Implemented Interfaces:
java.util.Map<T,IPropertyInfo>
public class PropertyNameMap<T extends java.lang.CharSequence> extends java.lang.Object implements java.util.Map<T,IPropertyInfo>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<T,IPropertyInfo>_mapprivate java.util.List_unmodList
-
Constructor Summary
Constructors Constructor Description PropertyNameMap()PropertyNameMap(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(java.lang.Object key)booleancontainsValue(java.lang.Object value)java.util.Set<java.util.Map.Entry<T,IPropertyInfo>>entrySet()voidfreeze()IPropertyInfoget(java.lang.Object key)booleanisEmpty()java.util.Set<T>keySet()IPropertyInfoput(T key, IPropertyInfo value)voidputAll(java.util.Map<? extends T,? extends IPropertyInfo> t)IPropertyInforemove(java.lang.Object key)intsize()java.util.List<IPropertyInfo>values()
-
-
-
Field Detail
-
_unmodList
private java.util.List _unmodList
-
_map
private java.util.Map<T extends java.lang.CharSequence,IPropertyInfo> _map
-
-
Method Detail
-
freeze
public void freeze()
-
size
public int size()
- Specified by:
sizein interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKeyin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValuein interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
get
public IPropertyInfo get(java.lang.Object key)
- Specified by:
getin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
put
public IPropertyInfo put(T key, IPropertyInfo value)
- Specified by:
putin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
remove
public IPropertyInfo remove(java.lang.Object key)
- Specified by:
removein interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
putAll
public void putAll(java.util.Map<? extends T,? extends IPropertyInfo> t)
- Specified by:
putAllin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
keySet
public java.util.Set<T> keySet()
- Specified by:
keySetin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
values
public java.util.List<IPropertyInfo> values()
- Specified by:
valuesin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
entrySet
public java.util.Set<java.util.Map.Entry<T,IPropertyInfo>> entrySet()
- Specified by:
entrySetin interfacejava.util.Map<T extends java.lang.CharSequence,IPropertyInfo>
-
-