Remove references to removed Buffer interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1500270 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f6a713a81
commit
d639a9b437
|
@ -40,7 +40,6 @@ This document highlights some key features to get you started.
|
|||
<li><a href='#Bidirectional%20Maps'>Bidirectional Maps</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href='#Queues%20and%20Buffers'>Queues and Buffers</a></li>
|
||||
<li><a href='#Bags'>Bags</a></li>
|
||||
</ul>
|
||||
<subsection name='Note On Synchronization'>
|
||||
|
@ -141,26 +140,6 @@ Implementations are provided for each bidirectional map type.
|
|||
</subsection>
|
||||
</section>
|
||||
|
||||
<section name="Queues and Buffers">
|
||||
|
||||
<p>
|
||||
A new interface hierarchy has been added to support queues and buffers - <code>Buffer.</code>
|
||||
These represent collections that have a well defined removal order.
|
||||
</p>
|
||||
<source>
|
||||
Buffer buffer = new UnboundedFifoBuffer();
|
||||
buffer.add("ONE");
|
||||
buffer.add("TWO");
|
||||
buffer.add("THREE");
|
||||
buffer.remove(); // removes and returns the next in order, "ONE" as this is a FIFO
|
||||
buffer.remove(); // removes and returns the next in order, "TWO" as this is a FIFO
|
||||
</source>
|
||||
<p>
|
||||
Implementations are provided for FIFO (queue), LIFO (stack) and Priority (removal in comparator order).
|
||||
</p>
|
||||
|
||||
</section>
|
||||
|
||||
<section name="Bags">
|
||||
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue