net.wimpi.modbus.util
Class LinkedQueue

java.lang.Object
  extended by net.wimpi.modbus.util.LinkedQueue

public class LinkedQueue
extends Object


Constructor Summary
LinkedQueue()
           
 
Method Summary
 boolean isEmpty()
           
 boolean offer(Object x, long msecs)
           
 Object peek()
           
 Object poll(long msecs)
           
 void put(Object x)
           
 Object take()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkedQueue

public LinkedQueue()
Method Detail

put

public void put(Object x)
         throws InterruptedException
Throws:
InterruptedException

offer

public boolean offer(Object x,
                     long msecs)
              throws InterruptedException
Throws:
InterruptedException

take

public Object take()
            throws InterruptedException
Throws:
InterruptedException

peek

public Object peek()

isEmpty

public boolean isEmpty()

poll

public Object poll(long msecs)
            throws InterruptedException
Throws:
InterruptedException


Copyright © 2010. All Rights Reserved.