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

📄 condition.java

📁 java实现的一个pascal编译器
💻 JAVA
字号:
package uk.co.brainycreatures.jpascal.type;

/**
 * represents a JPascal Condition type
 */
public class Condition {
  /**
   * suspends the process accessing the procedure
   * where the condition variable is found
   */
  public synchronized void Wait() {
    try {
      wait();
    }
    catch (Exception e) {
    }
  }

  /**
   * resumes the process accessing the procedure
   * containing this variable
   */
  public synchronized void Signal() {
       notifyAll();
  }
}

⌨️ 快捷键说明

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