Interface ComplexSchedule
- All Superinterfaces:
java.lang.Iterable<ComplexScheduleElement>
,Schedule
public interface ComplexSchedule extends Schedule, java.lang.Iterable<ComplexScheduleElement>
A complex schedule, composed of
ComplexScheduleElement
s.
This class has no mutator methods as all the accessors point to live lists.-
Method Summary
Modifier and Type Method Description void
add(ComplexScheduleElement complexScheduleElement)
Adds theComplexScheduleElement
to the ComplexSchedule's listjava.util.List<ComplexScheduleElement>
getComplexScheduleElements()
The ComplexScheduleElements comprising this ComplexSchedulejava.util.Iterator<ComplexScheduleElement>
iterator()
ComplexScheduleElement
newComplexScheduleElement()
Creates a newComplexScheduleElement
in memory to be added to aComplexSchedule
-
Method Details
-
getComplexScheduleElements
java.util.List<ComplexScheduleElement> getComplexScheduleElements()The ComplexScheduleElements comprising this ComplexSchedule- Returns:
- the live list of ComplexScheduleElements
-
add
Adds theComplexScheduleElement
to the ComplexSchedule's list- Parameters:
complexScheduleElement
-
-
iterator
java.util.Iterator<ComplexScheduleElement> iterator()- Specified by:
iterator
in interfacejava.lang.Iterable<ComplexScheduleElement>
- See Also:
Iterable.iterator()
-
newComplexScheduleElement
ComplexScheduleElement newComplexScheduleElement()Creates a newComplexScheduleElement
in memory to be added to aComplexSchedule
- Returns:
-