placeevent.java

来自「Rakiura JFern是一个非常轻型的带有模拟器的Petri网络框架」· Java 代码 · 共 46 行

JAVA
46
字号
// 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.event;/**/import java.util.EventObject;import org.rakiura.cpn.Place;/** * Represents an abstract Place event object. *  *<br><br> * PlaceEvent.java<br> * Created: Thu Apr 11 16:07:42 2002<br> * *@author  <a href="mariusz@rakiura.org">Mariusz Nowostawski</a> *@version 2.1.0 $Revision: 1.2 $ *@since 2.0 */public abstract class PlaceEvent extends EventObject {    /**   * Creates a new <code>PlaceEvent</code> instance.   *@param aPlace a <code>Place</code> value   */  public PlaceEvent(final Place aPlace) {    super(aPlace);  }  /**   * Returns the place, the source of this event.   *@return a <code>Place</code> which is the    * source of this event.   */  public Place getPlace() {    return (Place) getSource();  }  } // PlaceEvent//////////////////// end of file ////////////////////

⌨️ 快捷键说明

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