📄 iqueryresult.java
字号:
package invertedList;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.SortedSet;
public interface IQueryResult {
//Set<String> getVagueQueryResult(String query);
/**
* the Query part of the system use this method to get the List of document that match the query
* @param query
* @return string the result of the query
*/
Map<FileRecord,SortedSet<Integer>> getAllQueryResult(String query);
/**
* @param notList
* @return string after substraction
* making subtractions to get the result of a not query
*/
Set<FileRecord> notQueryResult(Set<FileRecord> notList);
Iterator<FileRecord> getAllFileRecords();
// Set<FileRecord> getNameRangeResult(String from,String end);
//
// Set<FileRecord> getTimeRangeResult(String start,String end);
//
// Set<FileRecord> getSizeRangeResult(long lower,long upper);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -