Package org.dmfs.rfc5545.recurrenceset
Class Merged
java.lang.Object
org.dmfs.rfc5545.recurrenceset.Merged
- All Implemented Interfaces:
Iterable<org.dmfs.rfc5545.DateTime>,RecurrenceSet
A composite
RecurrenceSet composed of other RecurrenceSets. This RecurrenceSet
iterates the instances of all given RecurrenceSets in chronological order.-
Constructor Summary
ConstructorsConstructorDescriptionMerged(Iterable<RecurrenceSet> delegates) Merged(RecurrenceSet... delegates) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether thisRecurrenceSetis infinite or not.iterator()Returns anInstanceIteratorfor thisRecurrenceSet.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Merged
-
Merged
-
-
Method Details
-
iterator
Description copied from interface:RecurrenceSetReturns anInstanceIteratorfor thisRecurrenceSet.- Specified by:
iteratorin interfaceIterable<org.dmfs.rfc5545.DateTime>- Specified by:
iteratorin interfaceRecurrenceSet
-
isInfinite
public boolean isInfinite()Description copied from interface:RecurrenceSetReturns whether thisRecurrenceSetis infinite or not.- Specified by:
isInfinitein interfaceRecurrenceSet
-