⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lockable.java

📁 一个用java写的地震分析软件(无源码)-used to write a seismic analysis software (without source)
💻 JAVA
字号:
package org.trinet.jasi;

/**
 * Lockable.java
 *
 *
 * Created: Tue Aug 15 16:43:00 2000
 *
 * @author Doug Given
 * @version
 */

public interface Lockable  {
    
    /** Lock this object, returns true on success, false on failure.
    * If locked, information on the current lock holder is in the data members. */
    public boolean lock();

    /** Release the lock on this object. Returns true even if the lock was not held
    * in the first place. */
    public boolean unlock();

    /** Returns true if this object is locked by anyone, the caller included. */
    public boolean isLocked();

    /** Returns true if this object is locked by the caller. */
    public boolean lockIsMine();

    
} // Lockable

⌨️ 快捷键说明

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