Class AbstractIteratorTester.Stimulus<E,​T extends java.util.Iterator<E>>

  • Enclosing class:
    AbstractIteratorTester<E,​I extends java.util.Iterator<E>>

    abstract static class AbstractIteratorTester.Stimulus<E,​T extends java.util.Iterator<E>>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String toString  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Stimulus​(java.lang.String toString)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) abstract void executeAndCompare​(java.util.ListIterator<E> reference, T target)
      Send this stimulus to both iterators and return normally only if both produce the same response.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • toString

        private final java.lang.String toString
    • Constructor Detail

      • Stimulus

        protected Stimulus​(java.lang.String toString)
    • Method Detail

      • executeAndCompare

        abstract void executeAndCompare​(java.util.ListIterator<E> reference,
                                        T target)
        Send this stimulus to both iterators and return normally only if both produce the same response.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object