Package cdc.issues
Interface NameValueMap
- All Known Implementing Classes:
MetasImpl,ParamsImpl
public interface NameValueMap
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classNameValueMap.Builder<M extends NameValueMap,B extends NameValueMap.Builder<M, B>> -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancontainsName(String name) getNames()Collection<? extends NameValue>booleanisEmpty()
-
Method Details
-
isEmpty
boolean isEmpty()- Returns:
trueif this map is empty.
-
getNames
- Returns:
- The set of names.
-
containsName
-
getSortedNames
- Returns:
- The sorted names.
-
getValue
- Parameters:
name- The name.- Returns:
- The value associated to
nameornull.
-
getValue
- Parameters:
name- The name.def- The default value to return.- Returns:
- The value associated to
nameordef.
-
getNameValues
Collection<? extends NameValue> getNameValues()- Returns:
- A collection of
NameValue.
-
getSortedNameValues
- Returns:
- A list of
NameValuesorted using their name.
-