Package de.msi.oauth.flow.common
Interface Lookup<K,V>
- Type Parameters:
K- the key typeV- the value type
public interface Lookup<K,V>
A
Lookup provides values which are uniquely mapped to a certain key.- Author:
- Martin Siegemund
-
Method Details
-
lookup
Query the value in regard to a given key.- Parameters:
key- the key- Returns:
- the associated value if present, otherwise
Optional.empty()
-