📄 futureresult.java
字号:
package com.huawei.comm.smap;
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2007</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
*/
import java.lang.reflect.InvocationTargetException;
public class FutureResult
{
// Fields
protected Object value_;
protected boolean ready_;
protected InvocationTargetException exception_;
// Constructors
public FutureResult()
{}
// Methods
protected Object doGet()
throws InvocationTargetException
{
return null;
}
public synchronized Object get()
throws InterruptedException, InvocationTargetException
{
return null;
}
public synchronized Object timedGet(long msecs)
throws InterruptedException, InvocationTargetException
{
return null;
}
public synchronized void set(Object newValue)
{}
public synchronized void setException(Throwable ex)
{}
public synchronized InvocationTargetException getException()
{
return null;
}
public synchronized boolean isReady()
{
return false;
}
public synchronized Object peek()
{
return null;
}
public synchronized void clear()
{}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -