Javadoc fixes
from Dieter Wimberger git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131110 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3439cce207
commit
ea355ae4e4
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestCollection.java,v 1.13 2003/07/12 15:47:53 scolebourne Exp $
|
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/TestCollection.java,v 1.14 2003/07/12 16:23:33 scolebourne Exp $
|
||||||
* $Revision: 1.13 $
|
* $Revision: 1.14 $
|
||||||
* $Date: 2003/07/12 15:47:53 $
|
* $Date: 2003/07/12 16:23:33 $
|
||||||
*
|
*
|
||||||
* ====================================================================
|
* ====================================================================
|
||||||
*
|
*
|
||||||
|
@ -93,10 +93,11 @@ import java.util.NoSuchElementException;
|
||||||
* <p>
|
* <p>
|
||||||
* Override these if your collection doesn't support certain operations:
|
* Override these if your collection doesn't support certain operations:
|
||||||
* <UL>
|
* <UL>
|
||||||
* <LI>{@link #isAddSuppoted()}
|
* <LI>{@link #isAddSupported()}
|
||||||
* <LI>{@link #isRemoveSupported()}
|
* <LI>{@link #isRemoveSupported()}
|
||||||
* <li>{@link #areEqualElementsDistinguishable()}
|
* <li>{@link #areEqualElementsDistinguishable()}
|
||||||
* <LI>{@link #isNullSupported()}
|
* <LI>{@link #isNullSupported()}
|
||||||
|
* <LI>{@link #isFailFastSupported()}
|
||||||
* </UL>
|
* </UL>
|
||||||
* <p>
|
* <p>
|
||||||
* <B>Fixture Methods</B>
|
* <B>Fixture Methods</B>
|
||||||
|
@ -146,18 +147,14 @@ import java.util.NoSuchElementException;
|
||||||
* <p>
|
* <p>
|
||||||
* If your {@link Collection} fails one of these tests by design,
|
* If your {@link Collection} fails one of these tests by design,
|
||||||
* you may still use this base set of cases. Simply override the
|
* you may still use this base set of cases. Simply override the
|
||||||
* test case (method) your {@link Collection} fails. For instance, the
|
* test case (method) your {@link Collection} fails.
|
||||||
* {@link #testIteratorFailFast()} method is provided since most collections
|
|
||||||
* have fail-fast iterators; however, that's not strictly required by the
|
|
||||||
* collection contract, so you may want to override that method to do
|
|
||||||
* nothing.
|
|
||||||
*
|
*
|
||||||
* @author Rodney Waldhoff
|
* @author Rodney Waldhoff
|
||||||
* @author Paul Jack
|
* @author Paul Jack
|
||||||
* @author <a href="mailto:mas@apache.org">Michael A. Smith</a>
|
* @author <a href="mailto:mas@apache.org">Michael A. Smith</a>
|
||||||
* @author Neil O'Toole
|
* @author Neil O'Toole
|
||||||
* @author Stephen Colebourne
|
* @author Stephen Colebourne
|
||||||
* @version $Id: TestCollection.java,v 1.13 2003/07/12 15:47:53 scolebourne Exp $
|
* @version $Id: TestCollection.java,v 1.14 2003/07/12 16:23:33 scolebourne Exp $
|
||||||
*/
|
*/
|
||||||
public abstract class TestCollection extends TestObject {
|
public abstract class TestCollection extends TestObject {
|
||||||
|
|
||||||
|
@ -445,7 +442,7 @@ public abstract class TestCollection extends TestObject {
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
/**
|
/**
|
||||||
* Returns a list of elements suitable for return by
|
* Returns a list of elements suitable for return by
|
||||||
* {@link getFullElements()}. The array returned by this method
|
* {@link #getFullElements()}. The array returned by this method
|
||||||
* does not include null, but does include a variety of objects
|
* does not include null, but does include a variety of objects
|
||||||
* of different types. Override getFullElements to return
|
* of different types. Override getFullElements to return
|
||||||
* the results of this method if your collection does not support
|
* the results of this method if your collection does not support
|
||||||
|
@ -476,7 +473,7 @@ public abstract class TestCollection extends TestObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the default list of objects returned by
|
* Returns the default list of objects returned by
|
||||||
* {@link getOtherElements()}. Includes many objects
|
* {@link #getOtherElements()}. Includes many objects
|
||||||
* of different types.
|
* of different types.
|
||||||
*/
|
*/
|
||||||
protected Object[] getOtherNonNullElements() {
|
protected Object[] getOtherNonNullElements() {
|
||||||
|
@ -495,7 +492,7 @@ public abstract class TestCollection extends TestObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of string elements suitable for return by
|
* Returns a list of string elements suitable for return by
|
||||||
* {@link getFullElements()}. Override getFullElements to return
|
* {@link #getFullElements()}. Override getFullElements to return
|
||||||
* the results of this method if your collection does not support
|
* the results of this method if your collection does not support
|
||||||
* heterogenous elements or the null element.
|
* heterogenous elements or the null element.
|
||||||
*/
|
*/
|
||||||
|
@ -508,7 +505,7 @@ public abstract class TestCollection extends TestObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of string elements suitable for return by
|
* Returns a list of string elements suitable for return by
|
||||||
* {@link getOtherElements()}. Override getOtherElements to return
|
* {@link #getOtherElements()}. Override getOtherElements to return
|
||||||
* the results of this method if your collection does not support
|
* the results of this method if your collection does not support
|
||||||
* heterogenous elements or the null element.
|
* heterogenous elements or the null element.
|
||||||
*/
|
*/
|
||||||
|
@ -1105,7 +1102,7 @@ public abstract class TestCollection extends TestObject {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests {@link Collection.toArray(Object[])}.
|
* Tests {@link Collection#toArray(Object[])}.
|
||||||
*/
|
*/
|
||||||
public void testCollectionToArray2() {
|
public void testCollectionToArray2() {
|
||||||
resetEmpty();
|
resetEmpty();
|
||||||
|
|
Loading…
Reference in New Issue