Uses of Class
me.sbasalaev.collection.Set

Packages that use Set
Package
Description
Useful utilities that I use throughout my projects.
Collection framework.
  • Uses of Set in me.sbasalaev

    Methods in me.sbasalaev that return Set
    Modifier and Type
    Method
    Description
    static <T> Set<T>
    API.set()
    Empty set.
    static <T> Set<T>
    API.set(T... elements)
    Set of given elements.
  • Uses of Set in me.sbasalaev.collection

    Subclasses of Set in me.sbasalaev.collection
    Modifier and Type
    Class
    Description
    class 
    Set that can be mutated.
    Methods in me.sbasalaev.collection that return Set
    Modifier and Type
    Method
    Description
    final Set<T>
    Set.clone()
    Returns shallow immutable copy of this set.
     
    abstract Set<Entry<K,C>>
    Associations between keys and collections of values in this multimap.
    static <T> Set<T>
    Set.empty()
    Empty set.
    abstract Set<Entry<K,V>>
    Map.entries()
    The set of key-value associations in this map.
    SetMultimap.entries()
     
    Set.filtered(Predicate<? super @Out T> condition)
    Returns set that contains only elements of this set satisfying given condition.
    static <T> Set<T>
    Set.fromJava(Set<T> javaSet)
    Set view of given java set.
    abstract Set<V>
    SetMultimap.get(Object key)
    Set of values associated with given key in this multimap.
    Set.intersect(Set<?> other)
    Set containing only elements of this set that are also in another set.
    Map.keys()
    The set of keys that have an associated value in this map.
    Multimap.keys()
    Set of keys that have at least one associated value in this multimap.
    <R> Set<R>
    Set.mapped(Function<? super @Out T,? extends R> mapping)
    Returns set with given mapping applied to all elements of this set.
    static <T> Set<T>
    Set.of(T... elements)
    Set containing given elements.
    Collection.toSet()
     
    default Set<T>
    Traversable.toSet()
    Collects elements of this traversable into an immutable set.
    static <T> Set<T>
    Set.union(Set<? extends T>... sets)
    Set containing elements of all given sets.
    static <T> Set<T>
    Set.union(Traversable<? extends Set<? extends T>> sets)
    Set containing elements of all given sets.
    Set<?>
    Set.unite(Set<?> other)
    Set containing elements of both this and the other set.
    Set.without(Set<?> other)
    Set containing only elements of this set that are not in another set.
    Methods in me.sbasalaev.collection with parameters of type Set
    Modifier and Type
    Method
    Description
    Set.intersect(Set<?> other)
    Set containing only elements of this set that are also in another set.
    boolean
    Set.intersects(Set<?> other)
    Whether any element of this set is also in the given set.
    boolean
    Set.isSubset(Set<?> other)
    Whether all elements of this set are also in the given set.
    boolean
    Set.isSuperset(Set<?> other)
    Whether all elements of given set are also in this set.
    static <T> Set<T>
    Set.union(Set<? extends T>... sets)
    Set containing elements of all given sets.
    Set<?>
    Set.unite(Set<?> other)
    Set containing elements of both this and the other set.
    Set.without(Set<?> other)
    Set containing only elements of this set that are not in another set.
    Method parameters in me.sbasalaev.collection with type arguments of type Set
    Modifier and Type
    Method
    Description
    static <T> Set<T>
    Set.union(Traversable<? extends Set<? extends T>> sets)
    Set containing elements of all given sets.