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

📄 patternpt.java

📁 Rakiura JFern是一个非常轻型的带有模拟器的Petri网络框架
💻 JAVA
字号:
// This is copyrighted source file, part of Rakiura JFern package. // See the file LICENSE for copyright information and the terms and conditions// for copying, distributing and modifications of Rakiura JFern package.// Copyright (C) 1999-2002 by Mariusz Nowostawski and others  [http://www.rakiura.org]package org.rakiura.cpn.lib;/**/import org.rakiura.cpn.InputArc;import org.rakiura.cpn.Place;/** * Base abstract class for components. This is an abstract pattern * with single input place and single transition with an arc to that * place. It is being used by all other, more complex net patterns.  *  *<br><br> * PatterPT.java<br> * Created: Mon Oct  2 22:03:31 2000<br> * * @author Mariusz Nowostawski * @version 2.1.0 $Revision: 1.3 $ */public abstract class PatternPT extends PatternT {  protected Place inputPlace;  protected InputArc inputArc;  public PatternPT() {    this.inputPlace = new Place();    this.inputArc = new InputArc(inputPlace, transition);    this.inputArc.setExpression(this.inputArc.new Expression() {        public void evaluate() {          var("X");        }      });    add(inputPlace);  }  } // PatternT//////////////////// end of file ////////////////////

⌨️ 快捷键说明

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