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 Gap
    Modifier and Type
    Field
    Description
    protected List<Gap<T>>
    Sequence.gaps
     
    Modifier and Type
    Method
    Description
    static Gap<?>
    Gap.dummy(double time)
    Creates a dummy instance of Gap used primarily as a key in search and comparison methods.
    Sequence.firstGap(Predicate<Gap<T>> predicate)
    Returns the first gap of this sequence satisfying the specified predicate, or null if 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, or null if this gap does not intersect with the specified other gap.
    Returns the gap that is the result of intersecting this gap with the specified slot, or null if this gap does not intersect with the specified slot.
    Sequence.lastGap(Predicate<Gap<T>> predicate)
    Returns the last gap of this sequence satisfying the specified predicate, or null if there is no such gap.
    Methods in com.amalgamasimulation.core.scheduling that return types with arguments of type Gap
    Modifier and Type
    Method
    Description
    Sequence.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.
    Sequence.gapsListIterator(double startingFromGapBeginningAtOrBefore)
    Returns a ListIterator of 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 Gap
    Modifier and Type
    Method
    Description
    Gap.getIntersection(Gap<?> gap)
    Returns the gap that is the result of intersecting this gap with the specified other gap, or null if this gap does not intersect with the specified other gap.
    Method parameters in com.amalgamasimulation.core.scheduling with type arguments of type Gap
    Modifier and Type
    Method
    Description
    Sequence.firstGap(Predicate<Gap<T>> predicate)
    Returns the first gap of this sequence satisfying the specified predicate, or null if 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.
    Sequence.lastGap(Predicate<Gap<T>> predicate)
    Returns the last gap of this sequence satisfying the specified predicate, or null if there is no such gap.