本文整理了Java中com.google.common.util.concurrent.SettableFuture.<init>()
方法的一些代码示例,展示了SettableFuture.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SettableFuture.<init>()
方法的具体详情如下:
包路径:com.google.common.util.concurrent.SettableFuture
类名称:SettableFuture
方法名:<init>
[英]Explicit private constructor, use the #create factory method to create instances of SettableFuture.
[中]显式私有构造函数,使用#create factory方法创建SettableFuture的实例。
代码示例来源:origin: google/guava
/**
* Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: google/j2objc
/**
* Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: wildfly/wildfly
/**
* Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: org.kill-bill.billing/killbill-platform-osgi-bundles-logger
/**
* Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/com.google.guava
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: com.google.guava/guava-jdk5
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-jruby
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: org.sonatype.sisu/sisu-guava
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: com.diffplug.guava/guava-concurrent
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: org.kill-bill.billing/killbill-osgi-bundles-jruby
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: org.hudsonci.lib.guava/guava
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
/**
* Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: com.ning.billing/killbill-osgi-bundles-analytics
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
代码示例来源:origin: Nextdoor/bender
/**
* Creates a new {@code SettableFuture} in the default state.
*/
public static <V> SettableFuture<V> create() {
return new SettableFuture<V>();
}
内容来源于网络,如有侵权,请联系作者删除!