Package io.vavr.collection
Class LinearSeqModule.Slice
- java.lang.Object
-
- io.vavr.collection.LinearSeqModule.Slice
-
- Enclosing interface:
- LinearSeqModule
public static class LinearSeqModule.Slice extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Slice()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static <T> intfindFirstSlice(LinearSeq<T> source, LinearSeq<T> slice, int from)private static <T> Tuple2<LinearSeq<T>,java.lang.Integer>findNextSlice(LinearSeq<T> source, LinearSeq<T> slice)(package private) static <T> intindexOfSlice(LinearSeq<T> source, java.lang.Iterable<? extends T> slice, int from)(package private) static <T> intlastIndexOfSlice(LinearSeq<T> source, java.lang.Iterable<? extends T> slice, int end)private static <T> LinearSeq<T>toLinearSeq(java.lang.Iterable<? extends T> iterable)
-
-
-
Method Detail
-
indexOfSlice
static <T> int indexOfSlice(LinearSeq<T> source, java.lang.Iterable<? extends T> slice, int from)
-
lastIndexOfSlice
static <T> int lastIndexOfSlice(LinearSeq<T> source, java.lang.Iterable<? extends T> slice, int end)
-
findFirstSlice
private static <T> int findFirstSlice(LinearSeq<T> source, LinearSeq<T> slice, int from)
-
findNextSlice
private static <T> Tuple2<LinearSeq<T>,java.lang.Integer> findNextSlice(LinearSeq<T> source, LinearSeq<T> slice)
-
toLinearSeq
private static <T> LinearSeq<T> toLinearSeq(java.lang.Iterable<? extends T> iterable)
-
-