Class ForEachImpl

  • All Implemented Interfaces:
    ForEach

    public class ForEachImpl
    extends java.lang.Object
    implements ForEach
    An implementation of ForEach.

    Note: the use of ForEachImpl is different from ConditionImpl. While you could use the same instance of ConditionImpl for all evaluation, each instance of ForEachImpl can be used only once (drop it after next() returns false).

    Author:
    tomyeh