View Javadoc

1   /*
2    * Copyright 2010 Fraunhofer Gesellschaft, Munich, Germany,
3    * for its Fraunhofer Institute for Computer Architecture and Software
4    * Technology (FIRST), Berlin, Germany. All rights reserved.
5    * http://www.first.fraunhofer.de/
6    */
7   
8   package net.kwfgrid.gwes;
9   
10  import net.kwfgrid.gwes.util.Queue;
11  
12  /**
13   * @author Andreas Hoheisel
14   *         (<a href="http://www.andreas-hoheisel.de">www.andreas-hoheisel.de</a>)
15   * @version $Id: ActivityQueue.java 1433 2010-11-29 18:06:07Z hoheisel $
16   */
17  final class ActivityQueue extends Queue {
18  
19      public final Activity dequeueActivity() {
20          return (Activity) super.dequeue();
21      }
22  
23      public final Activity getFrontActivity() {
24          return (Activity) super.getFront();
25      }
26  
27      public final void enqueue(Activity activity) {
28          super.enqueue(activity);
29      }
30  
31  }