Class PhraseMatcher.Phrase.MatchIterator

  • All Implemented Interfaces:
    java.util.Iterator<Item>
    Enclosing class:
    PhraseMatcher.Phrase

    public static class PhraseMatcher.Phrase.MatchIterator
    extends java.lang.Object
    implements java.util.Iterator<Item>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getReplace()
      Returns the value to replace the item last returned by next(), or null to keep it as-is
      boolean hasNext()  
      Item next()  
      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
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Item>
      • getReplace

        public java.lang.String getReplace()
        Returns the value to replace the item last returned by next(), or null to keep it as-is
      • next

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

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<Item>