Record Class XidPredicate
java.lang.Object
java.lang.Record
org.infinispan.server.hotrod.tx.table.functions.XidPredicate
-
Constructor Summary
ConstructorsConstructorDescriptionXidPredicate
(XidImpl xid) Creates an instance of aXidPredicate
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.boolean
final String
toString()
Returns a string representation of this record class.xid()
Returns the value of thexid
record component.
-
Constructor Details
-
XidPredicate
Creates an instance of aXidPredicate
record class.- Parameters:
xid
- the value for thexid
record component
-
-
Method Details
-
test
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
xid
Returns the value of thexid
record component.- Returns:
- the value of the
xid
record component
-