|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface PriorityQueue<E>
优先队列. User: luoguo Date: 11-3-30 Time: 下午9:22 To change this template use File | Settings | File Templates.
| 字段摘要 |
|---|
| 从接口 org.tinygroup.queue.Queue 继承的字段 |
|---|
DEFAULT_QUEUE_SIZE |
| 方法摘要 | |
|---|---|
void |
offer(E e,
int priority)
添加元素到队列中. |
void |
setPriorityIncreaseStrategy(PriorityIncreaseStrategy<E> strategy)
|
| 从接口 org.tinygroup.queue.Queue 继承的方法 |
|---|
element, isEmpty, isFull, offer, peek, poll, remove, size |
| 从接口 org.tinygroup.queue.QueueMonitor 继承的方法 |
|---|
getIdleSize, getName, getSize, getUsingSize |
| 方法详细信息 |
|---|
void offer(E e,
int priority)
e - 要增加的元素priority - 要增加的元素的优先级void setPriorityIncreaseStrategy(PriorityIncreaseStrategy<E> strategy)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||