Uses of Class
at.jku.ssw.fp.coll.FSet
-
Packages that use FSet Package Description at.jku.ssw.fp.coll at.jku.ssw.fp.sect06_3_4 -
-
Uses of FSet in at.jku.ssw.fp.coll
Subclasses of FSet in at.jku.ssw.fp.coll Modifier and Type Class Description static class
FSet.Cons<E>
Class representing a functional set.static class
FSet.Empty<E>
Class for the empty set.Fields in at.jku.ssw.fp.coll declared as FSet Modifier and Type Field Description private static FSet
FSet. EMPTY
The single object representing the empty setprivate FSet<E>
FSet.Cons. tail
The tail listMethods in at.jku.ssw.fp.coll that return FSet Modifier and Type Method Description FSet<E>
FSet. add(E elem)
Creates a new set with the elements of this set and the new element.FSet<E>
FSet.Builder. build()
Creates an functional set from the collected elements.static <E> FSet<E>
FSet. empty()
Returns the empty set.FSet<E>
FSet. filter(Predicate<? super E> predicate)
Returns a functional set consisting of the elements of this set that match the given predicate.<R> FSet<R>
FSet. flatMap(Function<? super E,? extends FSet<R>> mapper)
Returns a functional set consisting of the results of replacing each element of this set with the contents of a mapped set produced by applying the provided mapping function to each element.<R> FSet<R>
FSet. map(Function<? super E,? extends R> mapper)
Returns a functional set consisting of the results of applying the given function to the elements of this set.static <E> FSet<E>
FSet. of(E... elems)
Creates a functional set with the given elements.static <E> FSet<E>
FSet. of(List<E> elems)
Creates a functional set from a list of elements.static <E> FSet<E>
FSet. of(Set<E> elems)
Creates a functional set from a set of elements.FSet<E>
FSet.Cons. tail()
Returns the tail of this set.FSet<E>
FSet.Empty. tail()
Throws aNoSuchElementException
.abstract FSet<E>
FSet. tail()
Returns the tail set for this set.Method parameters in at.jku.ssw.fp.coll with type arguments of type FSet Modifier and Type Method Description <R> FSet<R>
FSet. flatMap(Function<? super E,? extends FSet<R>> mapper)
Returns a functional set consisting of the results of replacing each element of this set with the contents of a mapped set produced by applying the provided mapping function to each element.Constructors in at.jku.ssw.fp.coll with parameters of type FSet Constructor Description Cons(E head, FSet<E> tail)
Private constructor initializing head and tail. -
Uses of FSet in at.jku.ssw.fp.sect06_3_4
Methods in at.jku.ssw.fp.sect06_3_4 that return FSet Modifier and Type Method Description (package private) static FSet<Boolean>
Demo4_ExprEvalFSet. eval(Expr expr, Map<String,Set<Boolean>> bds)
-