Class UnaryOperator<TObject>
Listener for https://docs.oracle.com/javase/8/docs/api/java/util/function/UnaryOperator.html. Extends UnaryOperator
public class UnaryOperator<TObject> : UnaryOperator, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IUnaryOperator<TObject>, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
TObject
The data type associated to the event
- Inheritance
-
UnaryOperator<TObject>
- Implements
-
IUnaryOperator<TObject>
- Derived
- Inherited Members
- Extension Methods
Constructors
UnaryOperator()
Initialize a new instance of UnaryOperator<TObject>
public UnaryOperator()
Properties
OnApply
The Func<T, TResult> to be executed
public virtual Func<TObject, TObject> OnApply { get; set; }
Property Value
- Func<TObject, TObject>
Methods
Apply(TObject)
Executes the UnaryOperator action in the CLR
public virtual TObject Apply(TObject obj)
Parameters
obj
TObjectThe UnaryOperator object
Returns
- TObject
The apply
TObject