Package gw.lang.reflect
Class PropertyNameMap<T extends CharSequence>
- java.lang.Object
-
- gw.lang.reflect.PropertyNameMap<T>
-
- All Implemented Interfaces:
Map<T,IPropertyInfo>
public class PropertyNameMap<T extends CharSequence> extends Object implements Map<T,IPropertyInfo>
-
-
Constructor Summary
Constructors Constructor Description PropertyNameMap()
PropertyNameMap(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<T,IPropertyInfo>>
entrySet()
void
freeze()
IPropertyInfo
get(Object key)
boolean
isEmpty()
Set<T>
keySet()
IPropertyInfo
put(T key, IPropertyInfo value)
void
putAll(Map<? extends T,? extends IPropertyInfo> t)
IPropertyInfo
remove(Object key)
int
size()
List<IPropertyInfo>
values()
-
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
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
freeze
public void freeze()
-
size
public int size()
- Specified by:
size
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
get
public IPropertyInfo get(Object key)
- Specified by:
get
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
put
public IPropertyInfo put(T key, IPropertyInfo value)
- Specified by:
put
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
remove
public IPropertyInfo remove(Object key)
- Specified by:
remove
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
putAll
public void putAll(Map<? extends T,? extends IPropertyInfo> t)
- Specified by:
putAll
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
clear
public void clear()
- Specified by:
clear
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
keySet
public Set<T> keySet()
- Specified by:
keySet
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
values
public List<IPropertyInfo> values()
- Specified by:
values
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
entrySet
public Set<Map.Entry<T,IPropertyInfo>> entrySet()
- Specified by:
entrySet
in interfaceMap<T extends CharSequence,IPropertyInfo>
-
-