?? tokensaddedevent.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.event;/**/import org.rakiura.cpn.Multiset;import org.rakiura.cpn.Place;/** * Represents an Place event. This even is generated * when tokens are added to a place. * *<br><br> * TokensAddedEvent.java<br> * Created: Thu Apr 11 16:13:43 2002<br> * *@author <a href="mariusz@rakiura.org">Mariusz Nowostawski</a> *@version 2.1.0 $Revision: 1.2 $ *@since 2.0 */public class TokensAddedEvent extends PlaceEvent { /**/ private Multiset multiset; /** * Creates a new <code>TokensAddedEvent</code> instance. * @param aPlace a <code>Place</code> value. * @param aTokens a <code>Multiset</code> containing all added tokens. */ public TokensAddedEvent(final Place aPlace, final Multiset aTokens) { super(aPlace); this.multiset = aTokens; } /** * Returns the tokens which where added to the place. * @return a <code>Multiset</code> value */ public Multiset getTokens() { return this.multiset; } } // TokensAddedEvent//////////////////// end of file ////////////////////
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -