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 TypeInterfaceDescriptioninterfaceList<T>An immutableListis an eager sequence of elements.interfaceStream<T>An immutableStreamis lazy sequence of elements which may be infinitely long.Classes in io.vavr.collection that implement LinearSeqModifier and TypeClassDescriptionstatic final classList.Cons<T>Non-emptyList, consisting of aheadand atail.static final classList.Nil<T>Representation of the singleton emptyList.final classQueue<T>An immutableQueuestores elements allowing a first-in-first-out (FIFO) retrieval.static classStream.Cons<T>Non-emptyStream, consisting of ahead, andtail.static final classStream.Empty<T>The empty Stream.static final classstatic final classMethods 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> intLinearSeqModule.Slice.findFirstSlice(LinearSeq<T> source, LinearSeq<T> slice, int from) LinearSeqModule.Slice.findNextSlice(LinearSeq<T> source, LinearSeq<T> slice) (package private) static <T> intLinearSeqModule.Slice.indexOfSlice(LinearSeq<T> source, Iterable<? extends T> slice, int from) (package private) static <T> intLinearSeqModule.Slice.lastIndexOfSlice(LinearSeq<T> source, Iterable<? extends T> slice, int end) static <T> intLinearSeqModule.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.