Class InterpretationIterator

  • All Implemented Interfaces:
    java.util.Iterator<Interpretation>

    public class InterpretationIterator
    extends java.lang.Object
    implements java.util.Iterator<Interpretation>
    Creates all possible interpretations while respecting the order of the given arguments.
    Author:
    Mathias Hofer
    • Method Summary

      Modifier and Type Method Description
      boolean hasNext()  
      Interpretation next()  
      • Methods inherited from class java.lang.Object

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

        forEachRemaining, remove
    • Constructor Detail

      • InterpretationIterator

        public InterpretationIterator​(java.util.List<Argument> arguments)
        Parameters:
        arguments - the arguments for which the possible interpretations are computed
    • Method Detail

      • hasNext

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