📄 closeablecollection.java
字号:
/**
*
*/
package org.geotools.index;
import java.io.IOException;
import java.util.Collection;
import java.util.Iterator;
/**
* Tag interface for collection that must be closed
*
* @author jesse
*/
public interface CloseableCollection<T> extends Collection<T>{
/**
* Close the collection so it cleans up its resources
*/
void close() throws IOException;
/**
* Close the collection so it cleans up its resources
*/
void closeIterator(Iterator<T> iter) throws IOException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -