Class LazyMap<K,V>

java.lang.Object
org.tweetyproject.arg.adf.util.LazyMap<K,V>
Type Parameters:
K - the key
V - the value
All Implemented Interfaces:
Map<K,V>

public final class LazyMap<K,V> extends Object implements Map<K,V>
Lazily computes missing values. If a key is mapped to null, the value is computed by the provided function on its first access.
Author:
Mathias Hofer