forked from swiftlang/swift-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaBinaryOperator.swift
More file actions
24 lines (22 loc) · 878 Bytes
/
JavaBinaryOperator.swift
File metadata and controls
24 lines (22 loc) · 878 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
// Auto-generated by Java-to-Swift wrapper generator.
import SwiftJava
import SwiftJavaJNICore
@JavaInterface("java.util.function.BinaryOperator", extends: JavaBiFunction<JavaObject, JavaObject, JavaObject>.self)
public struct JavaBinaryOperator<T: AnyJavaObject> {
/// Java method `apply`.
///
/// ### Java method signature
/// ```java
/// public abstract R java.util.function.BiFunction.apply(T,U)
/// ```
@JavaMethod(typeErasedResult: "T!")
public func apply(_ arg0: T?, _ arg1: T?) -> T!
/// 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, T, V>!
}