Class TextTrieMap.CharIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.Character>
    Enclosing class:
    TextTrieMap<V>

    public static class TextTrieMap.CharIterator
    extends java.lang.Object
    implements java.util.Iterator<java.lang.Character>
    • Constructor Summary

      Constructors 
      Constructor Description
      CharIterator​(java.lang.CharSequence text, int offset, boolean ignoreCase)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.lang.Character next()  
      int nextIndex()  
      int processedLength()  
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Field Detail

      • _ignoreCase

        private boolean _ignoreCase
      • _text

        private java.lang.CharSequence _text
      • _nextIdx

        private int _nextIdx
      • _startIdx

        private int _startIdx
      • _remainingChar

        private java.lang.Character _remainingChar
    • Constructor Detail

      • CharIterator

        CharIterator​(java.lang.CharSequence text,
                     int offset,
                     boolean ignoreCase)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<java.lang.Character>
      • next

        public java.lang.Character next()
        Specified by:
        next in interface java.util.Iterator<java.lang.Character>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<java.lang.Character>
      • nextIndex

        public int nextIndex()
      • processedLength

        public int processedLength()