Record Class CacheKey<T>
java.lang.Object
java.lang.Record
com.maxmind.db.CacheKey<T>
- Type Parameters:
T- the type of value- Record Components:
offset- the offset of the value in the database filecls- the class of the valuetype- the type of the value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncls()Returns the value of theclsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longoffset()Returns the value of theoffsetrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
CacheKey
-
-
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. -
offset
-
cls
-
type
-