Package org.eclipse.emf.cdo.common.util
Class CDOQueryQueue<E>
- java.lang.Object
- 
- org.eclipse.emf.cdo.common.util.CDOQueryQueue<E>
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<E>,- java.util.Collection<E>,- java.util.Queue<E>,- org.eclipse.net4j.util.collection.Closeable
 
 public class CDOQueryQueue<E> extends java.lang.Object implements java.util.Queue<E>, org.eclipse.net4j.util.collection.CloseableThequeuethat represents the result of a CDOQuery.- Since:
- 2.0
- Author:
- Simon McDuff
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classCDOQueryQueue.BlockingCloseableIteratorImplA blocking iterator that takes elements from aCDOQueryQueue.
 - 
Constructor SummaryConstructors Constructor Description CDOQueryQueue()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E e)booleanaddAll(java.util.Collection<? extends E> c)voidclear()voidclose()java.util.Comparator<?>comparator()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> c)Eelement()booleanequals(java.lang.Object obj)inthashCode()booleanisClosed()booleanisEmpty()BlockingCloseableIterator<E>iterator()booleanoffer(E e)booleanoffer(E e, long timeout, java.util.concurrent.TimeUnit unit)Epeek()Epoll()Epoll(long timeout, java.util.concurrent.TimeUnit unit)voidput(E e)intremainingCapacity()Eremove()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)booleanretainAll(java.util.Collection<?> c)voidsetException(java.lang.Throwable exception)intsize()Etake()java.lang.Object[]toArray()java.lang.Object[]toArray(java.lang.Object[] a)java.lang.StringtoString()- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Method Detail- 
setExceptionpublic void setException(java.lang.Throwable exception) 
 - 
closepublic void close() - Specified by:
- closein interface- org.eclipse.net4j.util.collection.Closeable
 
 - 
isClosedpublic boolean isClosed() - Specified by:
- isClosedin interface- org.eclipse.net4j.util.collection.Closeable
 
 - 
addpublic boolean add(E e) 
 - 
clearpublic void clear() - Specified by:
- clearin interface- java.util.Collection<E>
 
 - 
containspublic boolean contains(java.lang.Object o) - Specified by:
- containsin interface- java.util.Collection<E>
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Specified by:
- equalsin interface- java.util.Collection<E>
- Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- java.util.Collection<E>
- Overrides:
- hashCodein class- java.lang.Object
 
 - 
isEmptypublic boolean isEmpty() - Specified by:
- isEmptyin interface- java.util.Collection<E>
 
 - 
iteratorpublic BlockingCloseableIterator<E> iterator() 
 - 
offerpublic boolean offer(E e, long timeout, java.util.concurrent.TimeUnit unit) 
 - 
pollpublic E poll(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException - Throws:
- java.lang.InterruptedException
 
 - 
putpublic void put(E e) 
 - 
remainingCapacitypublic int remainingCapacity() 
 - 
removepublic boolean remove(java.lang.Object o) - Specified by:
- removein interface- java.util.Collection<E>
 
 - 
sizepublic int size() - Specified by:
- sizein interface- java.util.Collection<E>
 
 - 
takepublic E take() throws java.lang.InterruptedException - Throws:
- java.lang.InterruptedException
 
 - 
toArraypublic java.lang.Object[] toArray() - Specified by:
- toArrayin interface- java.util.Collection<E>
 
 - 
toArraypublic java.lang.Object[] toArray(java.lang.Object[] a) - Specified by:
- toArrayin interface- java.util.Collection<E>
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
comparatorpublic java.util.Comparator<?> comparator() 
 - 
containsAllpublic boolean containsAll(java.util.Collection<?> c) - Specified by:
- containsAllin interface- java.util.Collection<E>
 
 - 
addAllpublic boolean addAll(java.util.Collection<? extends E> c) - Specified by:
- addAllin interface- java.util.Collection<E>
 
 - 
removeAllpublic boolean removeAll(java.util.Collection<?> c) - Specified by:
- removeAllin interface- java.util.Collection<E>
 
 - 
retainAllpublic boolean retainAll(java.util.Collection<?> c) - Specified by:
- retainAllin interface- java.util.Collection<E>
 
 
- 
 
-