📄 datalistener.java
字号:
package com.ca.directory.jxplorer;
import com.ca.commons.naming.*;
/**
* This interface handles
*
* There are two main ways to retrieve data from a DataQuery
* in a thread friendly manner. The first is to poll the
* 'ready()' method until it returns true. The second method
* is to register a data listener that will be notified when
* the result is complete.
*/
//XXX is this correct, or do we want a 'DataEvent' that wraps the
// DataQuery in some way, maybe providing a 'source'?
public interface DataListener
{
public void dataReady(DataQuery result);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -