org.jcurl.demo.tactics
Class HFBlockingQueue<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
java.util.concurrent.LinkedBlockingQueue<E>
org.jcurl.demo.tactics.HFBlockingQueue<E>
- All Implemented Interfaces:
- Serializable, Iterable<E>, Collection<E>, BlockingQueue<E>, Queue<E>
public class HFBlockingQueue<E>
- extends LinkedBlockingQueue<E>
- Version:
- $Id$
- Author:
- M. Rohrmoser
- See Also:
- Serialized Form
| Methods inherited from interface java.util.Queue |
remove |
HFBlockingQueue
public HFBlockingQueue()
add
public boolean add(E o)
- Specified by:
add in interface Collection<E>- Specified by:
add in interface BlockingQueue<E>- Overrides:
add in class AbstractQueue<E>
addAll
public boolean addAll(Collection<? extends E> c)
- Specified by:
addAll in interface Collection<E>- Overrides:
addAll in class AbstractQueue<E>
contains
public boolean contains(Object o)
- Specified by:
contains in interface Collection<E>- Overrides:
contains in class AbstractCollection<E>
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll in interface Collection<E>- Overrides:
containsAll in class AbstractCollection<E>
drainTo
public int drainTo(Collection<? super E> c)
- Specified by:
drainTo in interface BlockingQueue<E>- Overrides:
drainTo in class LinkedBlockingQueue<E>
drainTo
public int drainTo(Collection<? super E> c,
int maxElements)
- Specified by:
drainTo in interface BlockingQueue<E>- Overrides:
drainTo in class LinkedBlockingQueue<E>
element
public E element()
- Specified by:
element in interface Queue<E>- Overrides:
element in class AbstractQueue<E>
iterator
public Iterator<E> iterator()
- Specified by:
iterator in interface Iterable<E>- Specified by:
iterator in interface Collection<E>- Overrides:
iterator in class LinkedBlockingQueue<E>
offer
public boolean offer(E o)
- Specified by:
offer in interface BlockingQueue<E>- Specified by:
offer in interface Queue<E>- Overrides:
offer in class LinkedBlockingQueue<E>
offer
public boolean offer(E o,
long timeout,
TimeUnit unit)
throws InterruptedException
- Specified by:
offer in interface BlockingQueue<E>- Overrides:
offer in class LinkedBlockingQueue<E>
- Throws:
InterruptedException
peek
public E peek()
- Specified by:
peek in interface Queue<E>- Overrides:
peek in class LinkedBlockingQueue<E>
poll
public E poll()
- Specified by:
poll in interface Queue<E>- Overrides:
poll in class LinkedBlockingQueue<E>
poll
public E poll(long timeout,
TimeUnit unit)
throws InterruptedException
- Specified by:
poll in interface BlockingQueue<E>- Overrides:
poll in class LinkedBlockingQueue<E>
- Throws:
InterruptedException
put
public void put(E o)
throws InterruptedException
- Specified by:
put in interface BlockingQueue<E>- Overrides:
put in class LinkedBlockingQueue<E>
- Throws:
InterruptedException
remove
public boolean remove(Object o)
- Specified by:
remove in interface Collection<E>- Overrides:
remove in class LinkedBlockingQueue<E>
removeAll
public boolean removeAll(Collection<?> c)
- Specified by:
removeAll in interface Collection<E>- Overrides:
removeAll in class AbstractCollection<E>
retainAll
public boolean retainAll(Collection<?> c)
- Specified by:
retainAll in interface Collection<E>- Overrides:
retainAll in class AbstractCollection<E>
take
public E take()
throws InterruptedException
- Specified by:
take in interface BlockingQueue<E>- Overrides:
take in class LinkedBlockingQueue<E>
- Throws:
InterruptedException
Copyright © 2005-2009 JCurl.mro.name. All Rights Reserved.