Interface ForEachLoop

All Superinterfaces:
Loop
All Known Implementing Classes:
ForEachLoopImpl

public interface ForEachLoop extends Loop
A for-each construct.
  • Method Details

    • element

      ResultHandle element()
      Returns:
      the current element
    • block

      The block is executed for each element.
      Specified by:
      block in interface Loop
      Returns:
      the block