Record Class EventGraph.Atom<Event>
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.merlin.driver.timeline.EventGraph.Atom<Event>
- All Implemented Interfaces:
EffectExpression<Event>,EventGraph<Event>
- Enclosing interface:
EventGraph<Event>
Use
EventGraph.atom(Event) 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
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface gov.nasa.jpl.aerie.merlin.driver.timeline.EffectExpression
evaluate, map, substituteMethods inherited from interface gov.nasa.jpl.aerie.merlin.driver.timeline.EventGraph
evaluate
-
Constructor Details
-
Atom
Creates an instance of aAtomrecord class.- Parameters:
atom- the value for theatomrecord 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). -
atom
Returns the value of theatomrecord component.- Returns:
- the value of the
atomrecord component
-