Uses of Class
io.vavr.collection.LinkedHashSet
Packages that use LinkedHashSet
-
Uses of LinkedHashSet in io.vavr.collection
Fields in io.vavr.collection declared as LinkedHashSetMethods in io.vavr.collection that return LinkedHashSetModifier and TypeMethodDescriptionAdd the given element to this set, replacing existing one if it is already contained.Adds all of the given elements to this set, replacing existing one if they are not already contained.<R> LinkedHashSet
<R> LinkedHashSet.collect
(PartialFunction<? super T, ? extends R> partialFunction) LinkedHashSet.distinct()
LinkedHashSet.distinctBy
(Comparator<? super T> comparator) <U> LinkedHashSet
<T> LinkedHashSet.distinctBy
(Function<? super T, ? extends U> keyExtractor) LinkedHashSet.drop
(int n) LinkedHashSet.dropRight
(int n) static <T> LinkedHashSet
<T> LinkedHashSet.empty()
static <T> LinkedHashSet
<T> Returns a LinkedHashSet containing tuples returned byn
calls to a given Suppliers
.<U> LinkedHashSet
<U> LinkedHashSet.init()
<U> LinkedHashSet
<U> static <T> LinkedHashSet
<T> LinkedHashSet.narrow
(LinkedHashSet<? extends T> linkedHashSet) Narrows a widenedLinkedHashSet<? extends T>
toLinkedHashSet<T>
by performing a type-safe cast.static <T> LinkedHashSet
<T> LinkedHashSet.of
(T element) Returns a singletonLinkedHashSet
, i.e.static <T> LinkedHashSet
<T> LinkedHashSet.of
(T... elements) Creates a LinkedHashSet of the given elements.static LinkedHashSet
<Boolean> LinkedHashSet.ofAll
(boolean... elements) Creates a LinkedHashSet from boolean values.static LinkedHashSet
<Byte> LinkedHashSet.ofAll
(byte... elements) Creates a LinkedHashSet from byte values.static LinkedHashSet
<Character> LinkedHashSet.ofAll
(char... elements) Creates a LinkedHashSet from char values.static LinkedHashSet
<Double> LinkedHashSet.ofAll
(double... elements) Creates a LinkedHashSet from double values.static LinkedHashSet
<Float> LinkedHashSet.ofAll
(float... elements) Creates a LinkedHashSet from float values.static LinkedHashSet
<Integer> LinkedHashSet.ofAll
(int... elements) Creates a LinkedHashSet from int values.static LinkedHashSet
<Long> LinkedHashSet.ofAll
(long... elements) Creates a LinkedHashSet from long values.static LinkedHashSet
<Short> LinkedHashSet.ofAll
(short... elements) Creates a LinkedHashSet from short values.static <T> LinkedHashSet
<T> Creates a LinkedHashSet of the given elements.static <T> LinkedHashSet
<T> Creates a LinkedHashSet that contains the elements of the givenStream
.static LinkedHashSet
<Character> LinkedHashSet.range
(char from, char toExclusive) static LinkedHashSet
<Integer> LinkedHashSet.range
(int from, int toExclusive) Creates a LinkedHashSet of int numbers starting fromfrom
, extending totoExclusive - 1
.static LinkedHashSet
<Long> LinkedHashSet.range
(long from, long toExclusive) Creates a LinkedHashSet of long numbers starting fromfrom
, extending totoExclusive - 1
.static LinkedHashSet
<Character> LinkedHashSet.rangeBy
(char from, char toExclusive, int step) static LinkedHashSet
<Double> LinkedHashSet.rangeBy
(double from, double toExclusive, double step) static LinkedHashSet
<Integer> LinkedHashSet.rangeBy
(int from, int toExclusive, int step) Creates a LinkedHashSet of int numbers starting fromfrom
, extending totoExclusive - 1
, withstep
.static LinkedHashSet
<Long> LinkedHashSet.rangeBy
(long from, long toExclusive, long step) Creates a LinkedHashSet of long numbers starting fromfrom
, extending totoExclusive - 1
, withstep
.static LinkedHashSet
<Character> LinkedHashSet.rangeClosed
(char from, char toInclusive) static LinkedHashSet
<Integer> LinkedHashSet.rangeClosed
(int from, int toInclusive) Creates a LinkedHashSet of int numbers starting fromfrom
, extending totoInclusive
.static LinkedHashSet
<Long> LinkedHashSet.rangeClosed
(long from, long toInclusive) Creates a LinkedHashSet of long numbers starting fromfrom
, extending totoInclusive
.static LinkedHashSet
<Character> LinkedHashSet.rangeClosedBy
(char from, char toInclusive, int step) static LinkedHashSet
<Double> LinkedHashSet.rangeClosedBy
(double from, double toInclusive, double step) static LinkedHashSet
<Integer> LinkedHashSet.rangeClosedBy
(int from, int toInclusive, int step) Creates a LinkedHashSet of int numbers starting fromfrom
, extending totoInclusive
, withstep
.static LinkedHashSet
<Long> LinkedHashSet.rangeClosedBy
(long from, long toInclusive, long step) Creates a LinkedHashSet of long numbers starting fromfrom
, extending totoInclusive
, withstep
.LinkedHashSet.replaceAll
(T currentElement, T newElement) <U> LinkedHashSet
<U> LinkedHashSet.scanLeft
(U zero, BiFunction<? super U, ? super T, ? extends U> operation) <U> LinkedHashSet
<U> LinkedHashSet.scanRight
(U zero, BiFunction<? super T, ? super U, ? extends U> operation) static <T> LinkedHashSet
<T> Returns a LinkedHashSet containingn
values of a given Functionf
over a range of integer values from 0 ton - 1
.LinkedHashSet.tail()
LinkedHashSet.take
(int n) LinkedHashSet.takeRight
(int n) Adds all of the elements ofelements
to this set, replacing existing ones if they already present.(package private) static <T> LinkedHashSet
<T> LinkedHashSet.wrap
(LinkedHashMap<T, Object> map) <U> LinkedHashSet
<Tuple2<T, U>> <U> LinkedHashSet
<Tuple2<T, U>> <U,
R> LinkedHashSet <R> LinkedHashSet.zipWith
(Iterable<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) LinkedHashSet.zipWithIndex()
<U> LinkedHashSet
<U> LinkedHashSet.zipWithIndex
(BiFunction<? super T, ? super Integer, ? extends U> mapper) Methods in io.vavr.collection that return types with arguments of type LinkedHashSetModifier and TypeMethodDescriptionstatic <T> Collector
<T, ArrayList<T>, LinkedHashSet<T>> LinkedHashSet.collector()
Returns aCollector
which may be used in conjunction withStream.collect(Collector)
to obtain aLinkedHashSet
.<C> Map
<C, LinkedHashSet<T>> LinkedHashSet.grouped
(int size) LinkedHashSet.initOption()
LinkedHashSet.sliding
(int size) LinkedHashSet.sliding
(int size, int step) LinkedHashSet.tailOption()
<T1,
T2> Tuple2 <LinkedHashSet<T1>, LinkedHashSet<T2>> <T1,
T2> Tuple2 <LinkedHashSet<T1>, LinkedHashSet<T2>> <T1,
T2, T3>
Tuple3<LinkedHashSet<T1>, LinkedHashSet<T2>, LinkedHashSet<T3>> <T1,
T2, T3>
Tuple3<LinkedHashSet<T1>, LinkedHashSet<T2>, LinkedHashSet<T3>> <T1,
T2, T3>
Tuple3<LinkedHashSet<T1>, LinkedHashSet<T2>, LinkedHashSet<T3>> Methods in io.vavr.collection with parameters of type LinkedHashSetModifier and TypeMethodDescriptionstatic <T> LinkedHashSet
<T> LinkedHashSet.narrow
(LinkedHashSet<? extends T> linkedHashSet) Narrows a widenedLinkedHashSet<? extends T>
toLinkedHashSet<T>
by performing a type-safe cast.Method parameters in io.vavr.collection with type arguments of type LinkedHashSetModifier and TypeMethodDescription<U> U
LinkedHashSet.transform
(Function<? super LinkedHashSet<T>, ? extends U> f) Transforms thisLinkedHashSet
.