Record Class RPCGenerationCache.CacheKey
java.lang.Object
java.lang.Record
eu.cloudnetservice.driver.impl.network.rpc.generation.RPCGenerationCache.CacheKey
- Record Components:
generationFlags- the flags used during class generation.targetClass- the target class that was implemented.
- Enclosing class:
RPCGenerationCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thegenerationFlagsrecord component.The field for thetargetClassrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thegenerationFlagsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetargetClassrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
generationFlags
private final int generationFlagsThe field for thegenerationFlagsrecord component. -
targetClass
The field for thetargetClassrecord component.
-
-
Constructor Details
-
CacheKey
Creates an instance of aCacheKeyrecord class.- Parameters:
generationFlags- the value for thegenerationFlagsrecord componenttargetClass- the value for thetargetClassrecord 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. -
generationFlags
public int generationFlags()Returns the value of thegenerationFlagsrecord component.- Returns:
- the value of the
generationFlagsrecord component
-
targetClass
Returns the value of thetargetClassrecord component.- Returns:
- the value of the
targetClassrecord component
-