Package cdc.issues

Interface NameValueMap

All Known Subinterfaces:
Metas, Params
All Known Implementing Classes:
MetasImpl, ParamsImpl

public interface NameValueMap
  • Method Details

    • isEmpty

      boolean isEmpty()
      Returns:
      true if this map is empty.
    • getNames

      Set<String> getNames()
      Returns:
      The set of names.
    • containsName

      default boolean containsName(String name)
    • getSortedNames

      List<String> getSortedNames()
      Returns:
      The sorted names.
    • getValue

      String getValue(String name)
      Parameters:
      name - The name.
      Returns:
      The value associated to name or null.
    • getValue

      String getValue(String name, String def)
      Parameters:
      name - The name.
      def - The default value to return.
      Returns:
      The value associated to name or def.
    • getNameValues

      Collection<? extends NameValue> getNameValues()
      Returns:
      A collection of NameValue.
    • getSortedNameValues

      List<? extends NameValue> getSortedNameValues()
      Returns:
      A list of NameValue sorted using their name.