Package org.cactoos.map
Class MapEnvelope<X,Y>
- java.lang.Object
-
- org.cactoos.map.MapEnvelope<X,Y>
-
-
Constructor Summary
Constructors Constructor Description MapEnvelope(Map<X,Y> original)
Ctor.
-
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<X,Y>>
entrySet()
boolean
equals(Object other)
Y
get(Object key)
int
hashCode()
boolean
isEmpty()
Set<X>
keySet()
Y
put(X key, Y value)
void
putAll(Map<? extends X,? extends Y> extra)
Y
remove(Object key)
int
size()
String
toString()
Collection<Y>
values()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public final boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<X,Y>
-
containsValue
public final boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<X,Y>
-
equals
public final boolean equals(Object other)
-
-