Record Class InputTree.Entry<T extends InputResource>
java.lang.Object
java.lang.Record
org.jdrupes.builder.api.InputTree.Entry<T>
- Type Parameters:
T- the generic type- Record Components:
path- the pathresource- the resource
- Enclosing interface:
InputTree<T extends InputResource>
public static record InputTree.Entry<T extends InputResource>(Path path, T extends InputResource resource)
extends Record
An Entry in the tree.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.resource()Returns the value of theresourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
-
-
Method Details
-
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). -
path
-
resource
-