Class Composite
java.lang.Object
org.dmfs.rfc5545.iterable.instanceiterator.Composite
- All Implemented Interfaces:
InstanceIterator
Deprecated.
An
InstanceIterator which iterates the elements of other InstanceIterator in chronological order.-
Constructor Summary
ConstructorsConstructorDescriptionComposite(Iterable<InstanceIterator> delegates) Deprecated.Composite(InstanceIterator... delegates) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidfastForward(long until) Deprecated.Skip all instances tilluntil.booleanhasNext()Deprecated.Returnstrueif there is at least one more instance to iterate andfalseotherwise.longnext()Deprecated.Get the next instance (in milliseconds since the epoch) of this set.
-
Constructor Details
-
Composite
Deprecated. -
Composite
Deprecated.
-
-
Method Details
-
hasNext
public boolean hasNext()Deprecated.Description copied from interface:InstanceIteratorReturnstrueif there is at least one more instance to iterate andfalseotherwise.- Specified by:
hasNextin interfaceInstanceIterator
-
next
public long next()Deprecated.Description copied from interface:InstanceIteratorGet the next instance (in milliseconds since the epoch) of this set. Do not call this ifInstanceIterator.hasNext()returnsfalse.- Specified by:
nextin interfaceInstanceIterator
-
fastForward
public void fastForward(long until) Deprecated.Description copied from interface:InstanceIteratorSkip all instances tilluntil. Ifuntilis an instance itself it will be the next iterated instance. If the rule doesn't recur till that date the next call toInstanceIterator.hasNext()will returnfalse.- Specified by:
fastForwardin interfaceInstanceIterator
-
Merged