java.lang.Object
org.dmfs.rfc5545.iterable.instanceiterator.Composite
All Implemented Interfaces:
InstanceIterator

@Deprecated public final class Composite extends Object implements InstanceIterator
Deprecated.
in favour of Merged
An InstanceIterator which iterates the elements of other InstanceIterator in chronological order.
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Deprecated.
      Description copied from interface: InstanceIterator
      Returns true if there is at least one more instance to iterate and false otherwise.
      Specified by:
      hasNext in interface InstanceIterator
    • next

      public long next()
      Deprecated.
      Description copied from interface: InstanceIterator
      Get the next instance (in milliseconds since the epoch) of this set. Do not call this if InstanceIterator.hasNext() returns false.
      Specified by:
      next in interface InstanceIterator
    • fastForward

      public void fastForward(long until)
      Deprecated.
      Description copied from interface: InstanceIterator
      Skip all instances till until. If until is an instance itself it will be the next iterated instance. If the rule doesn't recur till that date the next call to InstanceIterator.hasNext() will return false.
      Specified by:
      fastForward in interface InstanceIterator