psimjava
Class Rsqueue

java.lang.Object
  extended by psimjava.Rsqueue

public class Rsqueue
extends java.lang.Object

PsimJ Java package for OO simulation

Object-oriented simulation package, process interaction approach.

(C) J. M. Garrido. June 2000, 2003, 2004 Internal class used by class Res. Simple resource queue class for Psim-J


Constructor Summary
Rsqueue()
           
Rsqueue(int max_ob)
           
 
Method Summary
 void back(java.lang.Object p, int nr, int nreq)
           
 boolean empty()
           
 boolean full()
           
 void into(java.lang.Object p, int nr, int nreq)
           
 Qobject last()
           
 int length()
           
 Qobject out()
           
 void rem_cur()
           
 void remov(java.lang.Object pr)
           
 Qobject show_cur()
           
 Qobject show_first()
           
 Qobject show_next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rsqueue

public Rsqueue(int max_ob)

Rsqueue

public Rsqueue()
Method Detail

length

public int length()

full

public boolean full()

empty

public boolean empty()

into

public void into(java.lang.Object p,
                 int nr,
                 int nreq)

back

public void back(java.lang.Object p,
                 int nr,
                 int nreq)

out

public Qobject out()

last

public Qobject last()

remov

public void remov(java.lang.Object pr)

show_first

public Qobject show_first()

show_next

public Qobject show_next()

show_cur

public Qobject show_cur()

rem_cur

public void rem_cur()