Interface JCoParameterFieldIterator

All Superinterfaces:
JCoFieldIterator

public interface JCoParameterFieldIterator extends JCoFieldIterator
Encapsulates an iterator for the fields of a parameter list.
  • Method Details

    • hasPreviousField

      boolean hasPreviousField()
      Tests if this iterator would return another field, when invoking previousParameterField().
      Specified by:
      hasPreviousField in interface JCoFieldIterator
      Returns:
      true if previousParameterField() would return another field; false otherwise.
    • nextParameterField

      JCoParameterField nextParameterField()
      Returns the next parameter field of the parameter list.
      Returns:
      the next field of the parameter list.
      Throws:
      NoSuchElementException - if no next parameter field exists.
    • previousParameterField

      JCoParameterField previousParameterField()
      Returns the previous parameter field of the parameter list.
      Returns:
      the previous field of the parameter list.
      Throws:
      NoSuchElementException - if no previous parameter field exists.