VCollections – Release 1
Uses of Interface org.violetlib.collections.ISet
-
-
Modifier and Type |
Method and Description |
static <V> ISet<V> |
ISet.cast(ISet<?> o)
Cast a set to a specific type.
|
static <V> ISet<V> |
ISet.create(Iterable<? extends V> elements)
Create a set containing the specified elements.
|
static <V> ISet<V> |
ISet.create(V[] elements)
Create a set containing the specified elements.
|
static <V> ISet<V> |
ISet.empty()
Return an empty set.
|
abstract ISet<V> |
ISet.extending(V value)
Return a set containing the members of this set and the specified value.
|
abstract ISet<V> |
ISet.extendingAll(ICollection<? extends V> values)
Return a set containing the members of this set and the specified values.
|
ISet<V> |
ISet.filter(Predicate<V> predicate)
|
abstract ISet<V> |
MapSetBuilder.getValues(K key)
Return the values currently associated with the specified key.
|
ISet<V> |
ISet.intersecting(ISet<?> other)
|
static <V> ISet<V> |
ISet.intersection(ISet<V> s,
ISet<?> p)
|
abstract ISet<K> |
IMap.keySet()
|
abstract <R> ISet<R> |
ISet.map(Function<V,R> mapper)
|
static <V> ISet<V> |
ISet.of(V... es)
|
static <V> ISet<V> |
ISet.of(V e)
|
ISet<V> |
ISet.ordered()
Return a set containing the members of this collection whose iteration order is defined by the natural sort order.
|
ISet<V> |
ISet.ordered(Comparator<? super V> comp)
Return a set containing the members of this collection whose iteration order is defined by the specified comparator.
|
abstract ISet<V> |
ISet.removing(Object value)
Return a set containing the members of this set excluding the specified value.
|
ISet<V> |
ISet.removingAll(ISet<?> values)
|
abstract ISet<V> |
IMap.values()
|
abstract ISet<V> |
SetBuilder.values()
Return a set containing the previously supplied (and not removed) elements.
|
Modifier and Type |
Method and Description |
abstract IMap<K,ISet<V>> |
MapSetBuilder.value()
Return a map containing the keys bound to sets of values.
|
Modifier and Type |
Method and Description |
abstract void |
MapSetBuilder.addAll(IMap<K,ISet<V>> values)
Add elements to the set from the associated map.
|