Java tutorial
package com.google.common.util.concurrent; import com.google.common.annotations.Beta; import com.google.common.collect.ForwardingObject; @Beta public abstract class ForwardingService extends ForwardingObject implements Service { protected abstract Service delegate(); public boolean isRunning() { return delegate().isRunning(); } protected Service.State standardStartAndWait() { return (Service.State) Futures.getUnchecked(start()); } protected Service.State standardStopAndWait() { return (Service.State) Futures.getUnchecked(stop()); } public ListenableFuture<Service.State> start() { return delegate().start(); } public Service.State startAndWait() { return delegate().startAndWait(); } public Service.State state() { return delegate().state(); } public ListenableFuture<Service.State> stop() { return delegate().stop(); } public Service.State stopAndWait() { return delegate().stopAndWait(); } } /* Location: C:\9exce\android\pj\kaixin_android_3.9.9_034_kaixin001\classes_dex2jar.jar * Qualified Name: com.google.common.util.concurrent.ForwardingService * JD-Core Version: 0.6.0 */