Package com.atlassian.bamboo.utils.map
Class FilteredMap<V>
- java.lang.Object
-
- com.atlassian.bamboo.utils.map.FilteredMap<V>
-
-
Constructor Summary
Constructors Constructor Description FilteredMap(String prefix)FilteredMap(String prefix, Map<String,V> decoratedMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)static <T> FilteredMap<T>decorate(String prefix, Map<String,T> params)Set<Map.Entry<String,V>>entrySet()booleanequals(Object o)Vget(Object key)Map<String,V>getDecoratedMap()inthashCode()booleanisEmpty()Set<String>keySet()Vput(String key, V value)voidputAll(Map t)Vremove(Object key)intsize()FilteredMap<V>subset(String prefix)Collection<V>values()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
subset
public FilteredMap<V> subset(String prefix)
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,V>
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,V>
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
decorate
public static <T> FilteredMap<T> decorate(String prefix, Map<String,T> params)
-
-