public class MockMapHolder extends MockValueHolder<MapType> implements MapHolder
Constructor and Description |
---|
MockMapHolder(List<?> keys,
List<?> values)
Creates a new instance of
MockMapHolder . |
MockMapHolder(Map<?,?> values)
Creates new instance of
MockMapHolder . |
MockMapHolder(MapType t)
Creates a new array holder for specified type.
|
MockMapHolder(MapType t,
Map<?,?> values)
Creates new instance of
MockMapHolder . |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Object,Object>> |
entrySet() |
boolean |
equals(Object o) |
Object |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
Set<Object> |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map<? extends Object,? extends Object> m) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
getId, getNotCompiledValueHolder, getType, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getNotCompiledValueHolder
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public MockMapHolder(MapType t)
t
- type of data in holderpublic MockMapHolder(MapType t, Map<?,?> values)
MockMapHolder
.t
- values
- public MockMapHolder(Map<?,?> values)
MockMapHolder
.values
- public MockMapHolder(List<?> keys, List<?> values)
MockMapHolder
.keys
- values
- public boolean containsKey(Object key)
containsKey
in interface Map<Object,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<Object,Object>
public boolean equals(Object o)
public int hashCode()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.