You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2002/10/13 14:58:04 UTC
cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections Buffer.java
scolebourne 2002/10/13 05:58:04
Modified: collections/src/java/org/apache/commons/collections
Buffer.java
Log:
Tidy javadoc and code layout
Revision Changes Path
1.3 +13 -16 jakarta-commons/collections/src/java/org/apache/commons/collections/Buffer.java
Index: Buffer.java
===================================================================
RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/Buffer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Buffer.java 3 Jul 2002 01:45:47 -0000 1.2
+++ Buffer.java 13 Oct 2002 12:58:04 -0000 1.3
@@ -60,10 +60,7 @@
*/
package org.apache.commons.collections;
-
import java.util.Collection;
-
-
/**
* A Buffer is a collection that allows objects to be removed in some
* well-defined order. The removal order can be based on insertion order
@@ -81,12 +78,14 @@
* also implement {@link java.util.List}, {@link java.util.Set} or
* {@link Bag}.
*
- * @author <a href="bloritsch@apache.org">Berin Loritsch</a>
- * @version CVS $Revision$ $Date$
- * @since Avalon 4.0
+ * @author Avalon
+ * @author <a href="bloritsch@apache.org">Berin Loritsch</a>
+ * @author Paul Jack
+ * @author Stephen Colebourne
+ * @version $Id$
+ * @since 2.1
*/
-public interface Buffer extends Collection
-{
+public interface Buffer extends Collection {
/**
* Removes the next object from the buffer.
@@ -96,13 +95,11 @@
*/
Object remove();
-
-
/**
- * Returns the next object in the buffer without removing it.
+ * Returns the next object in the buffer without removing it.
*
- * @return the next object in the buffer
- * @throws BufferUnderflowException if the buffer is empty
+ * @return the next object in the buffer
+ * @throws BufferUnderflowException if the buffer is empty
*/
Object get();
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>