Record Class DirectedEdge<T>
java.lang.Object
java.lang.Record
jdk.jpackage.internal.pipeline.DirectedEdge<T>
-
Constructor Summary
ConstructorsConstructorDescriptionDirectedEdge(T tail, T head) Creates an instance of aDirectedEdgerecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic <U> DirectedEdge<U> create(U tail, U head) final booleanIndicates whether some other object is "equal to" this one.from()final inthashCode()Returns a hash code value for this object.head()Returns the value of theheadrecord component.tail()Returns the value of thetailrecord component.to()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DirectedEdge
-
-
Method Details
-
from
-
to
-
create
-
toString
-
hashCode
-
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). -
tail
Returns the value of thetailrecord component.- Returns:
- the value of the
tailrecord component
-
head
Returns the value of theheadrecord component.- Returns:
- the value of the
headrecord component
-