org.apache.commons.collections.list
Class AbstractTestList.TestListIterator
java.lang.Object
TestCase
org.apache.commons.collections.BulkTest
org.apache.commons.collections.AbstractTestObject
org.apache.commons.collections.iterators.AbstractTestIterator
org.apache.commons.collections.iterators.AbstractTestListIterator
org.apache.commons.collections.list.AbstractTestList.TestListIterator
- All Implemented Interfaces:
- java.lang.Cloneable
- Enclosing class:
- AbstractTestList
public class AbstractTestList.TestListIterator
- extends AbstractTestListIterator
Method Summary |
java.lang.Object |
addSetValue()
The value to be used in the add and set tests. |
java.util.ListIterator |
makeEmptyListIterator()
Implement this method to return a list iterator over an empty collection. |
java.util.ListIterator |
makeFullListIterator()
Implement this method to return a list iterator over a collection with elements. |
boolean |
supportsAdd()
Whether or not we are testing an iterator that supports add(). |
boolean |
supportsRemove()
Whether or not we are testing an iterator that supports remove(). |
boolean |
supportsSet()
Whether or not we are testing an iterator that supports set(). |
Methods inherited from class org.apache.commons.collections.AbstractTestObject |
getCanonicalEmptyCollectionName, getCanonicalFullCollectionName, getCompatibilityVersion, isEqualsCheckable, isTestSerialization, readExternalFormFromBytes, readExternalFormFromDisk, skipSerializedCanonicalTests, supportsEmptyCollections, supportsFullCollections, testCanonicalEmptyCollectionExists, testCanonicalFullCollectionExists, testEqualsNull, testObjectEqualsSelf, testObjectHashCodeEqualsContract, testObjectHashCodeEqualsSelfHashCode, testSerializeDeserializeThenCompare, testSimpleSerialization, writeExternalFormToBytes, writeExternalFormToDisk |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractTestList.TestListIterator
public AbstractTestList.TestListIterator()
addSetValue
public java.lang.Object addSetValue()
- Description copied from class:
AbstractTestListIterator
- The value to be used in the add and set tests.
Default is null.
- Overrides:
addSetValue
in class AbstractTestListIterator
supportsRemove
public boolean supportsRemove()
- Description copied from class:
AbstractTestIterator
- Whether or not we are testing an iterator that supports remove().
Default is true.
- Overrides:
supportsRemove
in class AbstractTestIterator
- Returns:
- true if Iterator supports remove
supportsAdd
public boolean supportsAdd()
- Description copied from class:
AbstractTestListIterator
- Whether or not we are testing an iterator that supports add().
Default is true.
- Overrides:
supportsAdd
in class AbstractTestListIterator
- Returns:
- true if Iterator supports add
supportsSet
public boolean supportsSet()
- Description copied from class:
AbstractTestListIterator
- Whether or not we are testing an iterator that supports set().
Default is true.
- Overrides:
supportsSet
in class AbstractTestListIterator
- Returns:
- true if Iterator supports set
makeEmptyListIterator
public java.util.ListIterator makeEmptyListIterator()
- Description copied from class:
AbstractTestListIterator
- Implement this method to return a list iterator over an empty collection.
- Specified by:
makeEmptyListIterator
in class AbstractTestListIterator
- Returns:
- an empty iterator
makeFullListIterator
public java.util.ListIterator makeFullListIterator()
- Description copied from class:
AbstractTestListIterator
- Implement this method to return a list iterator over a collection with elements.
- Specified by:
makeFullListIterator
in class AbstractTestListIterator
- Returns:
- a full iterator
Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.