Framework Professional Edition Package


com.prosyst.mbs.framework.event
Class Queue

java.lang.Object
  extended by com.prosyst.mbs.framework.event.Queue

public class Queue
extends java.lang.Object


Field Summary
protected  int count
           
protected  int decrement
           
protected  int first
           
protected  int increment
           
protected  int initial
           
protected  int last
           
protected  java.lang.Object[] queue
           
 
Constructor Summary
Queue(int size)
           
 
Method Summary
 void clear()
           
 java.lang.Object get()
           
 void put(java.lang.Object element)
           
protected  void resize(boolean up)
           
 int size()
           
 void unget(java.lang.Object element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queue

protected java.lang.Object[] queue

first

protected int first

last

protected int last

initial

protected int initial

count

protected int count

increment

protected int increment

decrement

protected int decrement
Constructor Detail

Queue

public Queue(int size)
Method Detail

put

public void put(java.lang.Object element)

unget

public void unget(java.lang.Object element)

get

public java.lang.Object get()

clear

public void clear()

size

public int size()

resize

protected void resize(boolean up)

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved