org.jmock.lib.concurrent.internal
Class DeltaQueue<T>

java.lang.Object
  extended by org.jmock.lib.concurrent.internal.DeltaQueue<T>

public class DeltaQueue<T>
extends Object


Constructor Summary
DeltaQueue()
           
 
Method Summary
 void add(long delay, T value)
           
 long delay()
           
 boolean isEmpty()
           
 boolean isNotEmpty()
           
 T next()
           
 T pop()
           
 boolean remove(T element)
           
 long tick(long timeUnits)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeltaQueue

public DeltaQueue()
Method Detail

isEmpty

public boolean isEmpty()

isNotEmpty

public boolean isNotEmpty()

next

public T next()

delay

public long delay()

add

public void add(long delay,
                T value)

tick

public long tick(long timeUnits)

pop

public T pop()

remove

public boolean remove(T element)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 jMock. All Rights Reserved.