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 
add 
Add an element at the end of the list associated with the specified key.
addAll 
Add elements at the end of the list associated with the specified key.
getValueCount 
Return the number of values associated with the specified key.
getValues 
Return the values currently associated with the specified key.
keys 
Return the keys that have associated values.
size 
Return the number of keys with associated values.
sort 
Return a map containing the keys bound to lists of values, sorted in the natural order.
sort 
Return a map containing the keys bound to lists of values, sorted using the specified comparator.
sort 
Return a map containing the keys bound to lists of values, sorted using the specified set of key dependent comparators.
value 
Return a map containing the keys bound to lists of values.
-