Class ConflictSetIterator

  • All Implemented Interfaces:
    java.util.Iterator<Activation<?>>

    public class ConflictSetIterator
    extends java.lang.Object
    implements java.util.Iterator<Activation<?>>
    Iterator that iterates through the elements of a ConflictSet.
    • Constructor Detail

      • ConflictSetIterator

        public ConflictSetIterator​(ConflictSet conflictset)
      • ConflictSetIterator

        public ConflictSetIterator​(ConflictSet conflictset,
                                   java.util.function.Predicate breakCondition)
        Since:
        2.0
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Activation<?>>
      • next

        public Activation<?> next()
        Specified by:
        next in interface java.util.Iterator<Activation<?>>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<Activation<?>>