Package com.db4o.foundation
Class NonblockingQueue<T>
- java.lang.Object
- 
- com.db4o.foundation.NonblockingQueue<T>
 
- 
- 
Constructor SummaryConstructors Constructor Description NonblockingQueue()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T obj)booleanhasNext()Iterator4<T>iterator()Tnext()TnextMatching(Predicate4<T> condition)Returns the next object in the queue that matches the specified condition.
 
- 
- 
- 
Method Detail- 
nextMatchingpublic T nextMatching(Predicate4<T> condition) Description copied from interface:Queue4Returns the next object in the queue that matches the specified condition. The operation is always NON-BLOCKING.- Specified by:
- nextMatchingin interface- Queue4<T>
- Parameters:
- condition- the object must satisfy to be returned
- Returns:
- the object satisfying the condition or null if none does
 
 
- 
 
-