Record Class SignatureBundle.FileSignaturePair
java.lang.Object
java.lang.Record
br.ufsc.labsec.signature.conformanceVerifier.signatureBundle.SignatureBundle.FileSignaturePair
- Enclosing class:
SignatureBundle
-
Constructor Summary
ConstructorsConstructorDescriptionFileSignaturePair(String fileName, byte[] content) Creates an instance of aFileSignaturePairrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]content()Returns the value of thecontentrecord component.final booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FileSignaturePair
Creates an instance of aFileSignaturePairrecord class.- Parameters:
fileName- the value for thefileNamerecord componentcontent- the value for thecontentrecord component
-
-
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). -
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
content
public byte[] content()Returns the value of thecontentrecord component.- Returns:
- the value of the
contentrecord component
-