Modifier and Type | Class and Description |
---|---|
class |
EventMap.EventItem<K,V> |
static class |
EventMap.EventType |
Constructor and Description |
---|
EventMap(Map<K,V> contianer,
BiFunction<EventMap.EventType,EventMap.EventItem,Boolean> event) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
Map<K,V> |
getConatiner() |
BiFunction<EventMap.EventType,EventMap.EventItem,Boolean> |
getEvent() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(Object key,
Object value) |
void |
putAll(Map m) |
V |
remove(Object key) |
void |
setEvent(BiFunction<EventMap.EventType,EventMap.EventItem,Boolean> onEvent) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public EventMap(Map<K,V> contianer, BiFunction<EventMap.EventType,EventMap.EventItem,Boolean> event)
public BiFunction<EventMap.EventType,EventMap.EventItem,Boolean> getEvent()
public void setEvent(BiFunction<EventMap.EventType,EventMap.EventItem,Boolean> onEvent)
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Collection<V> values()
Copyright © 2020 Voovan. All rights reserved.