Interface IInputSource

All Known Implementing Classes:
IterableInputSource

public interface IInputSource
Source of input values during execution.
Author:
Erik Zemčík
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns next value of the input source.
    boolean
    Returns true if input source has more values.
  • Method Details

    • hasNextValue

      boolean hasNextValue()
      Returns true if input source has more values.
      Returns:
      true if input source has more values else false
    • getNextValue

      int getNextValue()
      Returns next value of the input source.
      Returns:
      next value of the input source
      Throws:
      NoSuchElementException - if it has no next value