Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev
Next
VCollections – Release 1
Uses of Interface org.violetlib.collections.IMap
Deprecated: ShowHide

Uses of Interface
org.violetlib.collections.IMap

    • Uses of IMap in org.violetlib.collections

      Methods in org.violetlib.collections that return IMap 
      Modifier and Type Method and Description
      static <K,V> IMap<K,V>  IMap.cast(IMap<?,?> o)
      Cast a map to a specific type.
      static <K,V> IMap<K,V>  IMap.create(Map<? extends K,? extends V> map)
      Return a map containing the specified bindings.
      static <K,V> IMap<K,V>  IMap.createWeak(Map<? extends K,? extends V> map)
      Return a map containing the specified bindings using weak references to the keys.
      static <K,V> IMap<K,V>  IMap.empty()
      Return a map containing no bindings.
      abstract IMap<K,V>  IMap.extending(IMap<K,V> bindings)
      Return a map with possibly additional or updated bindings.
      abstract IMap<K,V>  IMap.extending(K key, V value)
      Return a map with a possibly updated binding for the specified key.
      static <K,V> IMap<K,V>  IMap.of(Binding<? extends K,? extends V> binding)
      Return a map containing one binding.
      static <K,V> IMap<K,V>  IMap.singleton(K key, V value)
      Return a map containing one binding.
      abstract IMap<K,IList<V>>  UnorderedMapListBuilder.sort()
      Return a map containing the keys bound to lists of values, sorted in the natural order.
      abstract IMap<K,IList<V>>  UnorderedMapListBuilder.sort(Comparator<? super V> comparator)
      Return a map containing the keys bound to lists of values, sorted using the specified comparator.
      abstract IMap<K,IList<V>>  UnorderedMapListBuilder.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,V>  IMap.subset(ISet<K> keys)
      Return a map containing the bindings for the specified keys (if defined).
      abstract IMap<K,ISet<V>>  MapSetBuilder.value()
      Return a map containing the keys bound to sets of values.
      abstract IMap<K,V>  MapBuilder.value()
      Return a map containing the previously supplied (and not removed) bindings.
      abstract IMap<K,IList<V>>  MapListBuilder.value()
      Return a map containing the keys bound to lists of values.
      Methods in org.violetlib.collections with parameters of type IMap 
      Modifier and Type Method and Description
      abstract void  MapSetBuilder.addAll(IMap<K,ISet<V>> values)
      Add elements to the set from the associated map.
      static <K,V> IMap<K,V>  IMap.cast(IMap<?,?> o)
      Cast a map to a specific type.
      abstract IMap<K,V>  IMap.extending(IMap<K,V> bindings)
      Return a map with possibly additional or updated bindings.