Class SegmentedSequenceTree.Cache

  • Enclosing class:
    SegmentedSequenceTree

    private static class SegmentedSequenceTree.Cache
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) @NotNull java.lang.CharSequence chars  
      (package private) int indexDelta  
      (package private) @NotNull Segment segment  
    • Constructor Summary

      Constructors 
      Constructor Description
      Cache​(@NotNull Segment segment, @NotNull java.lang.CharSequence chars, int startIndex)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char charAt​(int index)  
      int charIndex​(int index)  
      • Methods inherited from class java.lang.Object

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

      • segment

        @NotNull
        final @NotNull Segment segment
      • chars

        @NotNull
        final @NotNull java.lang.CharSequence chars
      • indexDelta

        final int indexDelta
    • Constructor Detail

      • Cache

        public Cache​(@NotNull
                     @NotNull Segment segment,
                     @NotNull
                     @NotNull java.lang.CharSequence chars,
                     int startIndex)
    • Method Detail

      • charAt

        public char charAt​(int index)
      • charIndex

        public int charIndex​(int index)