Uses of Interface
io.vavr.collection.LinearSeq
Packages that use LinearSeq
-
Uses of LinearSeq in io.vavr.collection
Subinterfaces of LinearSeq in io.vavr.collectionModifier and TypeInterfaceDescriptioninterface
List<T>
An immutableList
is an eager sequence of elements.interface
Stream<T>
An immutableStream
is lazy sequence of elements which may be infinitely long.Classes in io.vavr.collection that implement LinearSeqModifier and TypeClassDescriptionstatic final class
List.Cons<T>
Non-emptyList
, consisting of ahead
and atail
.static final class
List.Nil<T>
Representation of the singleton emptyList
.final class
Queue<T>
An immutableQueue
stores elements allowing a first-in-first-out (FIFO) retrieval.static class
Stream.Cons<T>
Non-emptyStream
, consisting of ahead
, andtail
.static final class
Stream.Empty<T>
The empty Stream.static final class
static final class
Methods in io.vavr.collection that return LinearSeqModifier and TypeMethodDescriptionLinearSeq.asJavaMutable
(Consumer<? super List<T>> action) <R> LinearSeq
<R> LinearSeq.collect
(PartialFunction<? super T, ? extends R> partialFunction) LinearSeq.combinations()
LinearSeq.combinations
(int k) LinearSeq.distinct()
LinearSeq.distinctBy
(Comparator<? super T> comparator) LinearSeq.distinctBy
(Function<? super T, ? extends U> keyExtractor) LinearSeq.drop
(int n) LinearSeq.dropRight
(int n) LinearSeq.dropRightUntil
(Predicate<? super T> predicate) LinearSeq.dropRightWhile
(Predicate<? super T> predicate) <U> LinearSeq
<U> LinearSeq.init()
LinearSeq.intersperse
(T element) <U> LinearSeq
<U> static <T> LinearSeq
<T> Narrows a widenedLinearSeq<? extends T>
toLinearSeq<T>
by performing a type-safe cast.LinearSeq.permutations()
LinearSeq.prependAll
(Iterable<? extends T> elements) Deprecated.LinearSeq.removeAt
(int index) LinearSeq.removeFirst
(Predicate<T> predicate) LinearSeq.removeLast
(Predicate<T> predicate) LinearSeq.replaceAll
(T currentElement, T newElement) LinearSeq.reverse()
LinearSeq.rotateLeft
(int n) LinearSeq.rotateRight
(int n) <U> LinearSeq
<U> LinearSeq.scanLeft
(U zero, BiFunction<? super U, ? super T, ? extends U> operation) <U> LinearSeq
<U> LinearSeq.scanRight
(U zero, BiFunction<? super T, ? super U, ? extends U> operation) LinearSeq.shuffle()
LinearSeq.slice
(int beginIndex, int endIndex) LinearSeq.sortBy
(Comparator<? super U> comparator, Function<? super T, ? extends U> mapper) <U extends Comparable<? super U>>
LinearSeq<T> LinearSeq.sorted()
LinearSeq.sorted
(Comparator<? super T> comparator) LinearSeq.subSequence
(int beginIndex) LinearSeq.subSequence
(int beginIndex, int endIndex) LinearSeq.tail()
LinearSeq.take
(int n) LinearSeq.takeRight
(int n) LinearSeq.takeRightUntil
(Predicate<? super T> predicate) LinearSeq.takeRightWhile
(Predicate<? super T> predicate) private static <T> LinearSeq
<T> LinearSeqModule.Slice.toLinearSeq
(Iterable<? extends T> iterable) <U,
R> LinearSeq <R> LinearSeq.zipWith
(Iterable<? extends U> that, BiFunction<? super T, ? super U, ? extends R> mapper) LinearSeq.zipWithIndex()
<U> LinearSeq
<U> LinearSeq.zipWithIndex
(BiFunction<? super T, ? super Integer, ? extends U> mapper) Methods in io.vavr.collection that return types with arguments of type LinearSeqModifier and TypeMethodDescriptionLinearSeq.combinations()
LinearSeq.combinations
(int k) LinearSeq.crossProduct
(int power) LinearSeqModule.Slice.findNextSlice
(LinearSeq<T> source, LinearSeq<T> slice) LinearSeq.grouped
(int size) LinearSeq.initOption()
LinearSeq.permutations()
LinearSeq.sliding
(int size) LinearSeq.sliding
(int size, int step) LinearSeq.tailOption()
Methods in io.vavr.collection with parameters of type LinearSeqModifier and TypeMethodDescriptionprivate static <T> int
LinearSeqModule.Slice.findFirstSlice
(LinearSeq<T> source, LinearSeq<T> slice, int from) LinearSeqModule.Slice.findNextSlice
(LinearSeq<T> source, LinearSeq<T> slice) (package private) static <T> int
LinearSeqModule.Slice.indexOfSlice
(LinearSeq<T> source, Iterable<? extends T> slice, int from) (package private) static <T> int
LinearSeqModule.Slice.lastIndexOfSlice
(LinearSeq<T> source, Iterable<? extends T> slice, int end) static <T> int
LinearSeqModule.Search.linearSearch
(LinearSeq<T> seq, ToIntFunction<T> comparison) static <T> LinearSeq
<T> Narrows a widenedLinearSeq<? extends T>
toLinearSeq<T>
by performing a type-safe cast.