Record Class DowncallOptions.Transform
java.lang.Object
java.lang.Record
overrun.marshal.internal.DowncallOptions.Transform
- Record Components:
operator
- the transform function
- All Implemented Interfaces:
DowncallOption
- Enclosing class:
DowncallOptions
public static record DowncallOptions.Transform(UnaryOperator<MethodHandle> operator)
extends Record
implements DowncallOption
specify method handle transform
- Since:
- 0.1.0
- Author:
- squid233
-
Constructor Summary
ConstructorDescriptionTransform
(UnaryOperator<MethodHandle> operator) Creates an instance of aTransform
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.operator()
Returns the value of theoperator
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Transform
Creates an instance of aTransform
record class.- Parameters:
operator
- the value for theoperator
record 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. All components in this record class are compared withObjects::equals(Object,Object)
. -
operator
-