Record Class EventGraph.Sequentially<Event>
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.merlin.driver.timeline.EventGraph.Sequentially<Event>
- All Implemented Interfaces:
EffectExpression<Event>
,EventGraph<Event>
- Enclosing interface:
EventGraph<Event>
public static record EventGraph.Sequentially<Event>(EventGraph<Event> prefix, EventGraph<Event> suffix)
extends Record
implements EventGraph<Event>
Use
EventGraph.sequentially(EventGraph[])
} instead of instantiating this class directly.-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nasa.jpl.aerie.merlin.driver.timeline.EventGraph
EventGraph.Atom<Event>, EventGraph.Concurrently<Event>, EventGraph.Empty<Event>, EventGraph.IdentityTrait<T>, EventGraph.Sequentially<Event>
-
Constructor Summary
ConstructorDescriptionSequentially
(EventGraph<Event> prefix, EventGraph<Event> suffix) Creates an instance of aSequentially
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.prefix()
Returns the value of theprefix
record component.suffix()
Returns the value of thesuffix
record component.toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface gov.nasa.jpl.aerie.merlin.driver.timeline.EffectExpression
evaluate, map, substitute
Methods inherited from interface gov.nasa.jpl.aerie.merlin.driver.timeline.EventGraph
evaluate
-
Constructor Details
-
Sequentially
Creates an instance of aSequentially
record class.- Parameters:
prefix
- the value for theprefix
record componentsuffix
- the value for thesuffix
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
prefix
Returns the value of theprefix
record component.- Returns:
- the value of the
prefix
record component
-
suffix
Returns the value of thesuffix
record component.- Returns:
- the value of the
suffix
record component
-