Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VCollections – Release 1
Interface org.violetlib.collections.UnorderedMapListBuilder
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.collections

Interface UnorderedMapListBuilder<K,V>

  • All Superinterfaces:
    MapListBuilder<K,V>
    public interface UnorderedMapListBuilder<K,V> extends MapListBuilder<K,V>
    Build an immutable map from keys of type K to immutable lists of values of type V. Null values are not supported.
    • Methods 
      Modifier and Type Method and Description
      Inherited member indicator add Reveal DetailHide Detail
      abstract void add(K key, V value)
      Add an element at the end of the list associated with the specified key.
      void add(K key, V value)
      Description copied from interface: MapListBuilder
      Add an element at the end of the list associated with the specified key.
      Parameters:
      key - The key.
      value - The value to be added.
      Inherited member indicator addAll Reveal DetailHide Detail
      abstract void addAll(K key, IList<V> values)
      Add elements at the end of the list associated with the specified key.
      void addAll(K key, IList<V> values)
      Description copied from interface: MapListBuilder
      Add elements at the end of the list associated with the specified key.
      Parameters:
      key - The key.
      values - The values to be added.
      Inherited member indicator getValueCount Reveal DetailHide Detail
      abstract int getValueCount(K key)
      Return the number of values associated with the specified key.
      int getValueCount(K key)
      Description copied from interface: MapListBuilder
      Return the number of values associated with the specified key.
      Parameters:
      key - The key.
      Returns:
      the number of values associated with key.
      Inherited member indicator getValues Reveal DetailHide Detail
      abstract IList<V> getValues(K key)
      Return the values currently associated with the specified key.
      IList<V> getValues(K key)
      Description copied from interface: MapListBuilder
      Return the values currently associated with the specified key.
      Parameters:
      key - The key.
      Returns:
      an immutable list that contains the values associated with the specified key.
      Inherited member indicator keys Reveal DetailHide Detail
      abstract IList<K> keys()
      Return the keys that have associated values.
      IList<K> keys()
      Description copied from interface: MapListBuilder
      Return the keys that have associated values.
      Inherited member indicator size Reveal DetailHide Detail
      abstract int size()
      Return the number of keys with associated values.
      int size()
      Description copied from interface: MapListBuilder
      Return the number of keys with associated values.
      Ordinary member indicator sort Reveal DetailHide Detail
      abstract IMap<K,IList<V>> sort()
      Return a map containing the keys bound to lists of values, sorted in the natural order.
      IMap<K,IList<V>> sort()
      Return a map containing the keys bound to lists of values, sorted in the natural order.
      Ordinary member indicator sort Reveal DetailHide Detail
      abstract IMap<K,IList<V>> sort(Comparator<? super V> comparator)
      Return a map containing the keys bound to lists of values, sorted using the specified comparator.
      IMap<K,IList<V>> sort(Comparator<? super V> comparator)
      Return a map containing the keys bound to lists of values, sorted using the specified comparator.
      Ordinary member indicator sort Reveal DetailHide Detail
      abstract IMap<K,IList<V>> sort(KeyedValueSorter<K,V> sorter)
      Return a map containing the keys bound to lists of values, sorted using the specified set of key dependent comparators.
      IMap<K,IList<V>> sort(KeyedValueSorter<K,V> sorter)
      Return a map containing the keys bound to lists of values, sorted using the specified set of key dependent comparators.
      Inherited member indicator value Reveal DetailHide Detail
      abstract IMap<K,IList<V>> value()
      Return a map containing the keys bound to lists of values.
      IMap<K,IList<V>> value()
      Description copied from interface: MapListBuilder
      Return a map containing the keys bound to lists of values.