IFunction Interface

Definition

Represents a function that accepts one argument and produces a result.

[Android.Runtime.Register("java/util/function/Function", "", "Java.Util.Functions.IFunctionInvoker", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T", "R" })]
public interface IFunction : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("java/util/function/Function", "", "Java.Util.Functions.IFunctionInvoker", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T", "R" })>]
type IFunction = interface
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Derived
Attributes
Implements

Remarks

Java documentation for java.util.function.Function.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Properties

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
JniIdentityHashCode (Inherited from IJavaPeerable)
JniManagedPeerState (Inherited from IJavaPeerable)
JniPeerMembers (Inherited from IJavaPeerable)
PeerReference (Inherited from IJavaPeerable)

Methods

AndThen(IFunction)

Returns a composed function that first applies this function to its input, and then applies the after function to the result.

Apply(Object)

Applies this function to the given argument.

Compose(IFunction)

Returns a composed function that first applies the before function to its input, and then applies this function to the result.

Disposed() (Inherited from IJavaPeerable)
DisposeUnlessReferenced() (Inherited from IJavaPeerable)
Finalized() (Inherited from IJavaPeerable)
Identity()

Returns a function that always returns its input argument.

SetJniIdentityHashCode(Int32) (Inherited from IJavaPeerable)
SetJniManagedPeerState(JniManagedPeerStates) (Inherited from IJavaPeerable)
SetPeerReference(JniObjectReference) (Inherited from IJavaPeerable)
UnregisterFromRuntime() (Inherited from IJavaPeerable)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to