org.apache.commons.pipeline.util
Class BlockingQueueFactory.PriorityBlockingQueueFactory<T>
java.lang.Object
org.apache.commons.pipeline.util.QueueFactory.AbstractQueueFactory<T>
org.apache.commons.pipeline.util.BlockingQueueFactory.PriorityBlockingQueueFactory<T>
- All Implemented Interfaces:
- BlockingQueueFactory<T>, QueueFactory<T>
- Enclosing interface:
- BlockingQueueFactory<T>
public static class BlockingQueueFactory.PriorityBlockingQueueFactory<T>
- extends QueueFactory.AbstractQueueFactory<T>
- implements BlockingQueueFactory<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockingQueueFactory.PriorityBlockingQueueFactory
public BlockingQueueFactory.PriorityBlockingQueueFactory()
createQueue
public PriorityBlockingQueue<T> createQueue()
- Description copied from interface:
QueueFactory
- Create a new queue.
- Specified by:
createQueue
in interface BlockingQueueFactory<T>
- Specified by:
createQueue
in interface QueueFactory<T>
getInitialCapacity
public int getInitialCapacity()
- Getter for property initialCapacity.
- Returns:
- Value of property initialCapacity.
setInitialCapacity
public void setInitialCapacity(int initialCapacity)
- Setter for property initialCapacity.
- Parameters:
initialCapacity
- New value of property initialCapacity.
getComparator
public Comparator<? super T> getComparator()
- Getter for property comparator.
- Returns:
- Value of property comparator.
setComparator
public void setComparator(Comparator<? super T> comparator)
- Setter for property comparator.
- Parameters:
comparator
- New value of property comparator.
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.