itable.java
来自「这个是perst-269.zip下面的SOURCECODE,和大家分享了。」· Java 代码 · 共 31 行
JAVA
31 行
package org.garret.perst;
import java.util.Iterator;
/**
* Interface of selectable collection.
* Selectable collections allows to selct its memebers using JSQL query
*/
public interface ITable {
/**
* Select members of the collection using search predicate
* This iterator doesn't support remove() method.
* @param cls class of index members
* @param predicate JSQL condition
* @return iterator through members of the collection matching search condition
*/
public Iterator select(Class cls, String predicate);
/**
* Get iterator through table records
* This iterator doesn't support remove() method.
* @return table iterator
*/
public Iterator iterator();
/**
* Get numebr of records in the table
* @return number of records in the table
*/
public int size();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?