Package ghidra.util.database
Record Class DBCachedObjectStoreFactory.RecRange
java.lang.Object
java.lang.Record
ghidra.util.database.DBCachedObjectStoreFactory.RecRange
- Enclosing class:
DBCachedObjectStoreFactory
public static record DBCachedObjectStoreFactory.RecRange(int spaceId, long min, long max)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRecRange(int spaceId, long min, long max) Creates an instance of aRecRangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fromRange(AddressRange range) final inthashCode()Returns a hash code value for this object.longmax()Returns the value of themaxrecord component.longmin()Returns the value of theminrecord component.intspaceId()Returns the value of thespaceIdrecord component.toRange(AddressFactory factory) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RecRange
public RecRange(int spaceId, long min, long max) Creates an instance of aRecRangerecord class.- Parameters:
spaceId- the value for thespaceIdrecord componentmin- the value for theminrecord componentmax- the value for themaxrecord component
-
-
Method Details
-
fromRange
-
toRange
-
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 with '=='. -
spaceId
public int spaceId()Returns the value of thespaceIdrecord component.- Returns:
- the value of the
spaceIdrecord component
-
min
public long min()Returns the value of theminrecord component.- Returns:
- the value of the
minrecord component
-
max
public long max()Returns the value of themaxrecord component.- Returns:
- the value of the
maxrecord component
-