Uses of Class
com.amalgamasimulation.core.scheduling.Gap
Packages that use Gap
-
Uses of Gap in com.amalgamasimulation.core.scheduling
Fields in com.amalgamasimulation.core.scheduling with type parameters of type GapMethods in com.amalgamasimulation.core.scheduling that return GapModifier and TypeMethodDescriptionstatic Gap<?> Gap.dummy(double time) Creates a dummy instance ofGapused primarily as a key in search and comparison methods.Returns the first gap of this sequence satisfying the specified predicate, ornullif there is no such gap.Sequence.firstGapAfter(double endingAtOrAfter, Predicate<Gap<T>> satisfyingPredicate) Returns the first gap that ends at or after the specified time and satisfies the specified predicate.Gap.getIntersection(Gap<?> gap) Returns the gap that is the result of intersecting this gap with the specified other gap, ornullif this gap does not intersect with the specified other gap.Gap.getIntersection(Slot slot) Returns the gap that is the result of intersecting this gap with the specified slot, ornullif this gap does not intersect with the specified slot.Returns the last gap of this sequence satisfying the specified predicate, ornullif there is no such gap.Methods in com.amalgamasimulation.core.scheduling that return types with arguments of type GapModifier and TypeMethodDescriptionSequence.allGapsBetween(double beginTime, double endTime) Returns a list of all gaps between slots of this sequence that begin between the specified begin time and end time.Sequence.allGapsIntersecting(double beginTime, double endTime) Returns a list of all gaps that intersect the time interval specified by begin time and end time.Sequence.gaps()Returns a list of all gaps between the slots of this sequence.ListIterator<Gap<T>> Sequence.gapsListIterator(double startingFromGapBeginningAtOrBefore) Returns aListIteratorof gaps between slots of this sequence starting from the gap that begins at or before the specified time.Methods in com.amalgamasimulation.core.scheduling with parameters of type GapModifier and TypeMethodDescriptionGap.getIntersection(Gap<?> gap) Returns the gap that is the result of intersecting this gap with the specified other gap, ornullif this gap does not intersect with the specified other gap.Method parameters in com.amalgamasimulation.core.scheduling with type arguments of type GapModifier and TypeMethodDescriptionReturns the first gap of this sequence satisfying the specified predicate, ornullif there is no such gap.Sequence.firstGapAfter(double endingAtOrAfter, Predicate<Gap<T>> satisfyingPredicate) Returns the first gap that ends at or after the specified time and satisfies the specified predicate.Returns the last gap of this sequence satisfying the specified predicate, ornullif there is no such gap.