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
ConstructorsConstructorDescriptionTransform(UnaryOperator<MethodHandle> operator) Creates an instance of aTransformrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.operator()Returns the value of theoperatorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Transform
Creates an instance of aTransformrecord class.- Parameters:
operator- the value for theoperatorrecord 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
-