public class LazyMap<X,Y> extends Object implements Map<X,Y>
Constructor and Description |
---|
LazyMap(Map<X,Y> inner,
UnaryFunction<X,Y> factory) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
Set<Map.Entry<X,Y>> |
entrySet() |
Y |
get(Object o) |
Y |
getWithout(X x) |
boolean |
isEmpty() |
Set<X> |
keySet() |
Y |
put(X x,
Y y) |
void |
putAll(Map<? extends X,? extends Y> map) |
Y |
remove(Object o) |
int |
size() |
Collection<Y> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
Copyright © 2011-2021. All Rights Reserved.