public class CodedTupleTagMap extends Object
CodedTupleTags to associated values.| Modifier and Type | Method and Description |
|---|---|
static CodedTupleTagMap |
empty()
Returns an empty
CodedTupleTagMap. |
<T> T |
get(CodedTupleTag<T> tag)
Returns the value associated with the given tag in this
CodedTupleTagMap, or null if the tag has no
asssociated value. |
static CodedTupleTagMap |
of(Map<CodedTupleTag<?>,Object> map)
Returns a
CodedTupleTagMap containing the given mappings. |
public static CodedTupleTagMap of(Map<CodedTupleTag<?>,Object> map)
CodedTupleTagMap containing the given mappings.
It is up to the caller to ensure that the value associated with each CodedTupleTag in the map has the static type specified by that tag.
Intended for internal use only.
public static CodedTupleTagMap empty()
CodedTupleTagMap.public <T> T get(CodedTupleTag<T> tag)
CodedTupleTagMap, or null if the tag has no
asssociated value.