Uses of Class
io.vavr.collection.HashSet
Packages that use HashSet
-
Uses of HashSet in io.vavr.collection
Fields in io.vavr.collection declared as HashSetMethods in io.vavr.collection that return HashSetModifier and TypeMethodDescription<R> HashSet<R> HashSet.collect(@NonNull PartialFunction<? super T, ? extends R> partialFunction) HashSet.distinct()HashSet.distinctBy(@NonNull Comparator<? super T> comparator) HashSet.distinctBy(@NonNull Function<? super T, ? extends U> keyExtractor) HashSet.drop(int n) HashSet.dropRight(int n) static <T> HashSet<T> HashSet.empty()Returns the empty HashSet.static <T> HashSet<T> Returns a HashSet containing tuples returned byncalls to a given Suppliers.<U> HashSet<U> HashSet.init()<U> HashSet<U> <U> HashSet<U> HashSet.mapTo(U value) HashSet.mapToVoid()static <T> HashSet<T> Narrows aHashSet<? extends T>toHashSet<T>via a type-safe cast.static <T> HashSet<T> HashSet.of(T element) Returns a singletonHashSet, i.e.static <T> HashSet<T> HashSet.of(T @NonNull ... elements) Creates a HashSet of the given elements.HashSet.ofAll(boolean @NonNull ... elements) Creates a HashSet from boolean values.HashSet.ofAll(byte @NonNull ... elements) Creates a HashSet from byte values.HashSet.ofAll(char @NonNull ... elements) Creates a HashSet from char values.HashSet.ofAll(double @NonNull ... elements) Creates a HashSet from double values.HashSet.ofAll(float @NonNull ... elements) Creates a HashSet from float values.HashSet.ofAll(int @NonNull ... elements) Creates a HashSet from int values.HashSet.ofAll(long @NonNull ... elements) Creates a HashSet from long values.HashSet.ofAll(short @NonNull ... elements) Creates a HashSet from short values.static <T> HashSet<T> Creates a HashSet of the given elements.static <T> HashSet<T> Creates a HashSet that contains the elements of the givenStream.HashSet.range(char from, char toExclusive) Creates a HashSet of char numbers starting fromfrom, extending totoExclusive - 1.HashSet.range(int from, int toExclusive) Creates a HashSet of int numbers starting fromfrom, extending totoExclusive - 1.HashSet.range(long from, long toExclusive) Creates a HashSet of long numbers starting fromfrom, extending totoExclusive - 1.HashSet.rangeBy(char from, char toExclusive, int step) Creates a HashSet of char numbers starting fromfrom, extending totoExclusive - 1, withstep.HashSet.rangeBy(double from, double toExclusive, double step) Creates a HashSet of double numbers starting fromfrom, extending totoExclusive - 1, withstep.HashSet.rangeBy(int from, int toExclusive, int step) Creates a HashSet of int numbers starting fromfrom, extending totoExclusive - 1, withstep.HashSet.rangeBy(long from, long toExclusive, long step) Creates a HashSet of long numbers starting fromfrom, extending totoExclusive - 1, withstep.HashSet.rangeClosed(char from, char toInclusive) Creates a HashSet of char numbers starting fromfrom, extending totoInclusive.HashSet.rangeClosed(int from, int toInclusive) Creates a HashSet of int numbers starting fromfrom, extending totoInclusive.HashSet.rangeClosed(long from, long toInclusive) Creates a HashSet of long numbers starting fromfrom, extending totoInclusive.HashSet.rangeClosedBy(char from, char toInclusive, int step) Creates a HashSet of char numbers starting fromfrom, extending totoInclusive, withstep.HashSet.rangeClosedBy(double from, double toInclusive, double step) Creates a HashSet of double numbers starting fromfrom, extending totoInclusive, withstep.HashSet.rangeClosedBy(int from, int toInclusive, int step) Creates a HashSet of int numbers starting fromfrom, extending totoInclusive, withstep.HashSet.rangeClosedBy(long from, long toInclusive, long step) Creates a HashSet of long numbers starting fromfrom, extending totoInclusive, withstep.HashSet.replaceAll(T currentElement, T newElement) <U> HashSet<U> HashSet.scanLeft(U zero, @NonNull BiFunction<? super U, ? super T, ? extends U> operation) <U> HashSet<U> HashSet.scanRight(U zero, @NonNull BiFunction<? super T, ? super U, ? extends U> operation) static <T> HashSet<T> Returns an HashSet containingnvalues of a given Functionfover a range of integer values from 0 ton - 1.HashSet.tail()HashSet.take(int n) HashSet.takeRight(int n) <U,R> HashSet <R> HashSet.zipWith(@NonNull Iterable<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) HashSet.zipWithIndex()<U> HashSet<U> HashSet.zipWithIndex(@NonNull BiFunction<? super T, ? super Integer, ? extends U> mapper) Methods in io.vavr.collection that return types with arguments of type HashSetModifier and TypeMethodDescriptionHashSet.collector()Returns aCollectorwhich may be used in conjunction withStream.collect(java.util.stream.Collector)to obtain aHashSet.HashSet.grouped(int size) HashSet.initOption()HashSet.sliding(int size) HashSet.sliding(int size, int step) HashSet.tailOption()HashSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) HashSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) HashSet.unzip3(@NonNull Function<? super T, Tuple3<? extends T1, ? extends T2, ? extends T3>> unzipper) Methods in io.vavr.collection with parameters of type HashSetModifier and TypeMethodDescriptionstatic <T> HashSet<T> Narrows aHashSet<? extends T>toHashSet<T>via a type-safe cast.Method parameters in io.vavr.collection with type arguments of type HashSet