Java 类com.google.common.util.concurrent.ImmediateFuture.ImmediateCancelledFuture 实例源码

项目:guava-mock    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */
public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}
项目:googles-monorepo-demo    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */
public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}
项目:codebuff    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */
public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}
项目:guava    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */
public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}
项目:guava    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */
public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}
项目:codebuff    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */


public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}
项目:codebuff    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */


public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}
项目:codebuff    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */


public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}
项目:codebuff    文件:Futures.java   
/**
 * Creates a {@code ListenableFuture} which is cancelled immediately upon construction, so that
 * {@code isCancelled()} always returns {@code true}.
 *
 * @since 14.0
 */


public static <V> ListenableFuture<V> immediateCancelledFuture() {
  return new ImmediateCancelledFuture<V>();
}