Class Futures
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.futures.Futures
-
public class Futures extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Constructor Summary
Constructors Constructor Description Futures()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V> ListenableFuture<V>
immediateCancelledFuture()
static <V> ListenableFuture<V>
immediateFailedFuture(java.lang.Throwable throwable)
static <V> ListenableFuture<V>
immediateFuture(V value)
-
-
-
Method Detail
-
immediateFuture
public static <V> ListenableFuture<V> immediateFuture(@Nullable V value)
-
immediateFailedFuture
public static <V> ListenableFuture<V> immediateFailedFuture(java.lang.Throwable throwable)
-
immediateCancelledFuture
public static <V> ListenableFuture<V> immediateCancelledFuture()
-
-