closable.java

来自「openmap java写的开源数字地图程序. 用applet实现,可以像g」· Java 代码 · 共 45 行

JAVA
45
字号
// **********************************************************************// // <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/io/Closable.java,v $// $RCSfile: Closable.java,v $// $Revision: 1.1.1.1.2.1 $// $Date: 2004/10/14 18:27:00 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.io;/** * Objects that implement this interface can be registered with * BinaryFile to have associated file resources closed when file * limits are hit. */public interface Closable {    /**     * close/reclaim associated resources.     *      * @param done <code>true</code> indicates that this is a     *        permanent closure. <code>false</code> indicates that     *        the object may be used again later, as this is only an     *        attempt to temporarily reclaim resources     * @return <code>true</code> indicates the object is still     *         usable. <code>false</code> indicates that the object     *         is now unusable, and any references to it should be     *         released so the garbage collector can do its job.     */    public boolean close(boolean done);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?