giden.GRDS
Class BoundedQueue

java.lang.Object
  |
  +--giden.GRDS.Queue
        |
        +--giden.GRDS.BoundedQueue

public class BoundedQueue
extends Queue

Copyright (c) 1993-2004 C. R. Coullard, D. S. Dilworth, J. H. Owen, All Rights Reserved.
We make no representations or warranties about the suitability of the software, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. We shall not be liable for any damages suffered by user as a result of using, modifying or distributing this software or its derivatives.

Bounded queque is queue whose maximum size is defined when the queue is created. The current bounded queue implementation is based on the Queue class and does not utilize the maximum size information. This class may implement the bounds information in the future.

Version:
4.0a 2004 08 27
Author:
D. S. Dilworth
See Also:
Network, PQList, Queue

Constructor Summary
BoundedQueue(int maxsize)
          Creates a bounded queue with a maximum size.
 
Methods inherited from class giden.GRDS.Queue
Append, DeleteContents, GetSize, GetTop, IsEmpty, Pop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundedQueue

public BoundedQueue(int maxsize)
Creates a bounded queue with a maximum size. This class has the same methods as the Queue class.
Parameters:
maxsize - The bounds on this queue
See Also:
Queue