Class IndexedSeqModule.Slice

  • Enclosing interface:
    IndexedSeqModule

    public static class IndexedSeqModule.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> int findSlice​(IndexedSeq<T> source, IndexedSeq<T> slice, int index, int maxIndex)  
      (package private) static <T> int indexOfSlice​(IndexedSeq<T> source, java.lang.Iterable<? extends T> slice, int from)  
      (package private) static <T> int lastIndexOfSlice​(IndexedSeq<T> source, java.lang.Iterable<? extends T> slice, int end)  
      private static <T> IndexedSeq<T> toIndexedSeq​(java.lang.Iterable<? extends T> iterable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Slice

        public Slice()
    • Method Detail

      • indexOfSlice

        static <T> int indexOfSlice​(IndexedSeq<T> source,
                                    java.lang.Iterable<? extends T> slice,
                                    int from)
      • lastIndexOfSlice

        static <T> int lastIndexOfSlice​(IndexedSeq<T> source,
                                        java.lang.Iterable<? extends T> slice,
                                        int end)
      • findSlice

        private static <T> int findSlice​(IndexedSeq<T> source,
                                         IndexedSeq<T> slice,
                                         int index,
                                         int maxIndex)
      • toIndexedSeq

        private static <T> IndexedSeq<T> toIndexedSeq​(java.lang.Iterable<? extends T> iterable)