Record Class TrieLogProvider.TrieLogRangeTuple
java.lang.Object
java.lang.Record
org.hyperledger.besu.plugin.services.trielogs.TrieLogProvider.TrieLogRangeTuple
- Record Components:
blockHash- the block hashblockNumber- the block numbertrieLog- the associated TrieLog layer
- Enclosing interface:
TrieLogProvider
-
Constructor Summary
ConstructorsConstructorDescriptionTrieLogRangeTuple(org.hyperledger.besu.datatypes.Hash blockHash, long blockNumber, TrieLog trieLog) Creates an instance of aTrieLogRangeTuplerecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.hyperledger.besu.datatypes.HashReturns the value of theblockHashrecord component.longReturns the value of theblockNumberrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.trieLog()Returns the value of thetrieLogrecord component.
-
Constructor Details
-
TrieLogRangeTuple
public TrieLogRangeTuple(org.hyperledger.besu.datatypes.Hash blockHash, long blockNumber, TrieLog trieLog) Creates an instance of aTrieLogRangeTuplerecord class.- Parameters:
blockHash- the value for theblockHashrecord componentblockNumber- the value for theblockNumberrecord componenttrieLog- the value for thetrieLogrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
blockHash
-
blockNumber
public long blockNumber()Returns the value of theblockNumberrecord component.- Returns:
- the value of the
blockNumberrecord component
-
trieLog
-