@Test public void voided() { assertEquals(noFuture, noFuture.voided()); }
@SuppressWarnings("unchecked") @Override public Future<Void> voided() { return (Future<Void>) this; }
NoFuture implements Future<T> { @SuppressWarnings("unchecked") @Override public Future<Void> voided() { return (Future<Void>) this; } }
NoFuture implements Future<T> { @SuppressWarnings("unchecked") @Override public Future<Void> voided() { return (Future<Void>) this; }  }
NoFuture implements Future<T> { @SuppressWarnings("unchecked") @Override public Future<Void> voided() { return (Future<Void>) this; }  @Override void raise(final Throwable ex); @Override Future<T> interruptible(); @SuppressWarnings("unchecked") @Override Future<R> map(final Function<? super T, ? extends R> f); @SuppressWarnings("unchecked") @Override Future<R> flatMap(final Function<? super T, ? extends Future<R>> f); @SuppressWarnings("unchecked") @Override Future<R> transform(final Transformer<? super T, ? extends R> t); @SuppressWarnings("unchecked") @Override Future<R> transformWith(final Transformer<? super T, ? extends Future<R>> t); @SuppressWarnings("unchecked") @Override Future<R> biMap(final Future<U> other, final BiFunction<? super T, ? super U, ? extends R> f); @SuppressWarnings("unchecked") @Override Future<R> biFlatMap(final Future<U> other,
      final BiFunction<? super T, ? super U, ? extends Future<R>> f); @Override Future<T> ensure(final Runnable r); @Override Future<T> onSuccess(final Consumer<? super T> c); @Override Future<T> onFailure(final Consumer<Throwable> c); @Override Future<T> respond(final Responder<? super T> r); @Override Future<T> rescue(final Function<Throwable, ? extends Future<T>> f); @Override boolean isDefined(); @Override T get(final Duration timeout); @Override void join(final Duration timeout); @SuppressWarnings("unchecked") @Override Future<Void> voided(); @Override Future<T> delayed(final Duration delay, final ScheduledExecutorService scheduler); @Override void proxyTo(final Promise<T> p); @Override Future<T> within(final Duration timeout, final ScheduledExecutorService scheduler,
      final Throwable exception); }
NoFuture implements Future<T> { @SuppressWarnings("unchecked") @Override public Future<Void> voided() { return (Future<Void>) this; }  @Override void raise(final Throwable ex); @Override Future<T> interruptible(); @SuppressWarnings("unchecked") @Override Future<R> map(final Function<? super T, ? extends R> f); @SuppressWarnings("unchecked") @Override Future<R> flatMap(final Function<? super T, ? extends Future<R>> f); @SuppressWarnings("unchecked") @Override Future<R> transform(final Transformer<? super T, ? extends R> t); @SuppressWarnings("unchecked") @Override Future<R> transformWith(final Transformer<? super T, ? extends Future<R>> t); @SuppressWarnings("unchecked") @Override Future<R> biMap(final Future<U> other, final BiFunction<? super T, ? super U, ? extends R> f); @SuppressWarnings("unchecked") @Override Future<R> biFlatMap(final Future<U> other,
      final BiFunction<? super T, ? super U, ? extends Future<R>> f); @Override Future<T> ensure(final Runnable r); @Override Future<T> onSuccess(final Consumer<? super T> c); @Override Future<T> onFailure(final Consumer<Throwable> c); @Override Future<T> respond(final Responder<? super T> r); @Override Future<T> rescue(final Function<Throwable, ? extends Future<T>> f); @Override boolean isDefined(); @Override T get(final Duration timeout); @Override void join(final Duration timeout); @SuppressWarnings("unchecked") @Override Future<Void> voided(); @Override Future<T> delayed(final Duration delay, final ScheduledExecutorService scheduler); @Override void proxyTo(final Promise<T> p); @Override Future<T> within(final Duration timeout, final ScheduledExecutorService scheduler,
      final Throwable exception);  }