Class DimensionalMap<VALUE>
java.lang.Object
com.yahoo.search.query.profile.compiled.DimensionalMap<VALUE>
A map which may return different values depending on the values given in a context
supplied with the key on all operations.
Dimensional maps are immutable and created through a DimensionalMap.Builder
- Author:
- bratseth
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<Map.Entry<com.yahoo.processing.request.CompoundName,
DimensionalValue<VALUE>>> entrySet()
Returns the set of dimensional entries across all contexts.Returns the value for this key matching a context, or null if noneboolean
isEmpty()
Returns true if this is empty for all contexts.
-
Method Details
-
get
Returns the value for this key matching a context, or null if none -
entrySet
Returns the set of dimensional entries across all contexts. -
isEmpty
public boolean isEmpty()Returns true if this is empty for all contexts.
-