forked from swiftlang/swift-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaBiFunction.swift
More file actions
30 lines (25 loc) · 1008 Bytes
/
JavaBiFunction.swift
File metadata and controls
30 lines (25 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Auto-generated by Java-to-Swift wrapper generator.
import SwiftJava
import SwiftJavaJNICore
@JavaInterface("java.util.function.BiFunction")
public struct JavaBiFunction<JavaBiFunction_T: AnyJavaObject, JavaBiFunction_U: AnyJavaObject, JavaBiFunction_R: AnyJavaObject> {
public typealias T = JavaBiFunction_T
public typealias U = JavaBiFunction_U
public typealias R = JavaBiFunction_R
/// Java method `apply`.
///
/// ### Java method signature
/// ```java
/// public abstract R java.util.function.BiFunction.apply(T,U)
/// ```
@JavaMethod(typeErasedResult: "R!")
public func apply(_ arg0: T?, _ arg1: U?) -> R!
/// Java method `andThen`.
///
/// ### Java method signature
/// ```java
/// public default <V> java.util.function.BiFunction<T, U, V> java.util.function.BiFunction.andThen(java.util.function.Function<? super R, ? extends V>)
/// ```
@JavaMethod
public func andThen<V: AnyJavaObject>(_ arg0: JavaFunction<JavaObject, V>?) -> JavaBiFunction<T, U, V>!
}