@Test public void testIsComplete() { ProviderFuture future = futuresFactory.createFuture(); assertFalse(future.isComplete()); future.onSuccess(); assertTrue(future.isComplete()); }
@Override public boolean isComplete() { return state > COMPLETING; }
ProviderFuture implements AsyncResult { @Override public boolean isComplete() { return state > COMPLETING; } }
ProviderFuture implements AsyncResult { @Override public boolean isComplete() { return state > COMPLETING; } ProviderFuture();  ProviderFuture(ProviderSynchronization synchronization); }
ProviderFuture implements AsyncResult { @Override public boolean isComplete() { return state > COMPLETING; } ProviderFuture();  ProviderFuture(ProviderSynchronization synchronization); @Override boolean isComplete(); @Override void onFailure(ProviderException result); @Override void onSuccess(); abstract void sync(); abstract boolean sync(long amount, TimeUnit unit); }
ProviderFuture implements AsyncResult { @Override public boolean isComplete() { return state > COMPLETING; } ProviderFuture();  ProviderFuture(ProviderSynchronization synchronization); @Override boolean isComplete(); @Override void onFailure(ProviderException result); @Override void onSuccess(); abstract void sync(); abstract boolean sync(long amount, TimeUnit unit);  }