IKVM11
11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
DelegateLongFunction.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
java.util.function
4
{
5
10
public
class
DelegateLongFunction
<TResult> : LongFunction
11
{
12
13
readonly Func<long, TResult> _func;
14
20
public
DelegateLongFunction
(Func<long, TResult> func)
21
{
22
_func = func ??
throw
new
ArgumentNullException(nameof(func));
23
}
24
25
public
object
?
apply
(
long
t)
26
{
27
return
_func(t);
28
}
29
30
}
31
32
}
java.util.function.DelegateLongFunction
Implementation of LongFunction that forwards to a Func<Int64, TResult>.
Definition
DelegateLongFunction.cs:11
java.util.function.DelegateLongFunction.DelegateLongFunction
DelegateLongFunction(Func< long, TResult > func)
Initializes a new instance.
Definition
DelegateLongFunction.cs:20
java.util.function.DelegateLongFunction.apply
object? apply(long t)
Definition
DelegateLongFunction.cs:25
System
Definition
HexConverter.cs:9
java.util.function
Definition
BaseStreamExtensions.cs:6
src
IKVM.Java.Extensions
java
util
function
DelegateLongFunction.cs
Generated by
1.12.0