Interface MetisDataItem.MetisDataMap<K,V>
- Type Parameters:
K- the map key typeV- the map value type
- All Superinterfaces:
MetisDataItem.MetisDataObjectFormat
- All Known Implementing Classes:
MoneyWiseUKTaxYearCache,PrometheusDataTouch
- Enclosing class:
MetisDataItem
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface MetisDataItem.MetisDataMap<K,V>
extends MetisDataItem.MetisDataObjectFormat
Map interface.
-
Method Summary
Methods inherited from interface io.github.tonywasher.joceanus.metis.data.MetisDataItem.MetisDataObjectFormat
formatObject
-
Method Details
-
getUnderlyingMap
Obtain underlying map.- Returns:
- the map
-
isEmpty
default boolean isEmpty()Is the map empty?.- Returns:
- true/false
-
size
default int size()Obtain the size of the map.- Returns:
- the size
-
put
Put the value into the map.- Parameters:
pKey- the keypValue- the value- Returns:
- the original value
-
get
Obtain the value for the key.- Parameters:
pKey- the key- Returns:
- the associated value
-