Java/java/util/concurrent/Future.fz
# Fuzion interface to instance members of Java instance class 'java.util.concurrent.Future'
#
# !!!!!! DO NOT EDIT, GENERATED CODE !!!!!!
#
# This code was generated automatically using the fzjava tool V0.087 called
# as follows:
#
# ./build/bin/fzjava java.base -to=build/modules/java.base -verbose=0
#
public Java.java.util.concurrent.Future(forbidden void) ref : fuzion.java.Java_Object(forbidden) is
# call Java instance method 'public abstract boolean java.util.concurrent.Future.cancel(boolean)':
#
public cancel_Z(arg0 bool) bool =>
fuzion.java.call_virtual (bool) "java.util.concurrent.Future" "cancel" "(Z)Z" Future.this [(fuzion.java.bool_to_java_object Java.java.util.concurrent.Future.cancel_Z.this.arg0)]
# call Java instance method 'public default java.lang.Throwable java.util.concurrent.Future.exceptionNow()':
#
public exceptionNow Java.java.lang.Throwable =>
fuzion.java.call_virtual (Java.java.lang.Throwable) "java.util.concurrent.Future" "exceptionNow" "()Ljava/lang/Throwable;" Future.this []
# call Java instance method 'public abstract java.lang.Object java.util.concurrent.Future.get() throws java.lang.InterruptedException,java.util.concurrent.ExecutionException':
#
public get outcome (Java.java.lang.Object) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Object)) "java.util.concurrent.Future" "get" "()Ljava/lang/Object;" Future.this []
# call Java instance method 'public abstract java.lang.Object java.util.concurrent.Future.get(long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException,java.util.concurrent.ExecutionException,java.util.concurrent.TimeoutException':
#
public get_JLjava_7_util_7_concurrent_7_TimeUnit_s_(arg0 i64, arg1 Java.java.util.concurrent.TimeUnit) outcome (Java.java.lang.Object) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Object)) "java.util.concurrent.Future" "get" "(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;" Future.this [(fuzion.java.i64_to_java_object Java.java.util.concurrent.Future.get_JLjava_7_util_7_concurrent_7_TimeUnit_s_.this.arg0); (Java.java.util.concurrent.Future.get_JLjava_7_util_7_concurrent_7_TimeUnit_s_.this.arg1)]
# call Java instance method 'public abstract boolean java.util.concurrent.Future.isCancelled()':
#
public isCancelled bool =>
fuzion.java.call_virtual (bool) "java.util.concurrent.Future" "isCancelled" "()Z" Future.this []
# call Java instance method 'public abstract boolean java.util.concurrent.Future.isDone()':
#
public isDone bool =>
fuzion.java.call_virtual (bool) "java.util.concurrent.Future" "isDone" "()Z" Future.this []
# call Java instance method 'public default java.lang.Object java.util.concurrent.Future.resultNow()':
#
public resultNow Java.java.lang.Object =>
fuzion.java.call_virtual (Java.java.lang.Object) "java.util.concurrent.Future" "resultNow" "()Ljava/lang/Object;" Future.this []
# call Java instance method 'public default java.util.concurrent.Future$State java.util.concurrent.Future.state()':
#
public state Java.java.util.concurrent.Future_S_State =>
fuzion.java.call_virtual (Java.java.util.concurrent.Future_S_State) "java.util.concurrent.Future" "state" "()Ljava/util/concurrent/Future\$State;" Future.this []
# short-hand to call Java method 'public abstract boolean java.util.concurrent.Future.cancel(boolean)':
#
public cancel(arg0 bool) (bool) =>
cancel_Z Java.java.util.concurrent.Future.cancel.this.arg0
# short-hand to call Java method 'public abstract java.lang.Object java.util.concurrent.Future.get(long,java.util.concurrent.TimeUnit) throws java.lang.InterruptedException,java.util.concurrent.ExecutionException,java.util.concurrent.TimeoutException':
#
public get(arg0 i64, arg1 Java.java.util.concurrent.TimeUnit) (outcome (Java.java.lang.Object)) =>
get_JLjava_7_util_7_concurrent_7_TimeUnit_s_ Java.java.util.concurrent.Future.get.this.arg0 Java.java.util.concurrent.Future.get.this.arg1
last changed: 2024-03-07