Record Class EIT_Input_HashSourceFile_Triple
java.lang.Object
java.lang.Record
tripleo.elijah_durable_congenial.nextgen.inputtree.EIT_Input_HashSourceFile_Triple
- All Implemented Interfaces:
EIT_Input
public record EIT_Input_HashSourceFile_Triple(String hash, EIT_SourceOrigin source, String filename)
extends Record
implements EIT_Input
-
Constructor Summary
ConstructorsConstructorDescriptionEIT_Input_HashSourceFile_Triple(String hash, EIT_SourceOrigin source, String filename) Creates an instance of aEIT_Input_HashSourceFile_Triplerecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull EIT_Input_HashSourceFile_Triplefinal booleanIndicates whether some other object is "equal to" this one.filename()Returns the value of thefilenamerecord component.@NotNull EIT_InputTypegetType()hash()Returns the value of thehashrecord component.final inthashCode()Returns a hash code value for this object.source()Returns the value of thesourcerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EIT_Input_HashSourceFile_Triple
Creates an instance of aEIT_Input_HashSourceFile_Triplerecord class.- Parameters:
hash- the value for thehashrecord componentsource- the value for thesourcerecord componentfilename- the value for thefilenamerecord component
-
-
Method Details
-
decode
-
getType
-
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). -
hash
Returns the value of thehashrecord component.- Returns:
- the value of the
hashrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-
filename
Returns the value of thefilenamerecord component.- Returns:
- the value of the
filenamerecord component
-