Class LinearSeqModule.Slice

  • Enclosing interface:
    LinearSeqModule

    public static class LinearSeqModule.Slice
    extends java.lang.Object
    • Constructor Detail

      • Slice

        public Slice()
    • 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)
      • toLinearSeq

        private static <T> LinearSeq<T> toLinearSeq​(java.lang.Iterable<? extends T> iterable)