Record Class CacheInputFingerprint
java.lang.Object
java.lang.Record
dev.archunitjava.importer.CacheInputFingerprint
-
Constructor Summary
ConstructorsConstructorDescriptionCacheInputFingerprint(String identity, long byteCount, String sha256) Creates an instance of aCacheInputFingerprintrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thebyteCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.identity()Returns the value of theidentityrecord component.static CacheInputFingerprintsha256()Returns the value of thesha256record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CacheInputFingerprint
Creates an instance of aCacheInputFingerprintrecord class.- Parameters:
identity- the value for theidentityrecord componentbyteCount- the value for thebyteCountrecord componentsha256- the value for thesha256record component
-
-
Method Details
-
of
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
identity
Returns the value of theidentityrecord component.- Returns:
- the value of the
identityrecord component
-
byteCount
public long byteCount()Returns the value of thebyteCountrecord component.- Returns:
- the value of the
byteCountrecord component
-
sha256
Returns the value of thesha256record component.- Returns:
- the value of the
sha256record component
-