|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.collections.BulkTest
org.apache.commons.collections.AbstractTestObject
org.apache.commons.collections.map.AbstractTestMap
org.apache.commons.collections.bidimap.AbstractTestBidiMap
org.apache.commons.collections.bidimap.AbstractTestBidiMap.TestInverseBidiMap
public class AbstractTestBidiMap.TestInverseBidiMap
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.commons.collections.bidimap.AbstractTestBidiMap |
|---|
AbstractTestBidiMap.TestBidiMapEntrySet, AbstractTestBidiMap.TestBidiMapIterator, AbstractTestBidiMap.TestInverseBidiMap |
| Nested classes/interfaces inherited from class org.apache.commons.collections.map.AbstractTestMap |
|---|
AbstractTestMap.TestMapEntrySet, AbstractTestMap.TestMapKeySet, AbstractTestMap.TestMapValues |
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.collections.bidimap.AbstractTestBidiMap |
|---|
entries |
| Fields inherited from class org.apache.commons.collections.map.AbstractTestMap |
|---|
confirmed, entrySet, keySet, map, values |
| Fields inherited from class org.apache.commons.collections.AbstractTestObject |
|---|
COLLECTIONS_MAJOR_VERSION |
| Constructor Summary | |
|---|---|
AbstractTestBidiMap.TestInverseBidiMap(AbstractTestBidiMap main)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCompatibilityVersion()
Override as DualHashBidiMap didn't exist until version 3. |
java.lang.Object[] |
getSampleKeys()
Returns the set of keys in the mappings used to test the map. |
java.lang.Object[] |
getSampleValues()
Returns the set of values in the mappings used to test the map. |
boolean |
isAllowNullKey()
Returns true if the maps produced by AbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
supports null keys. |
boolean |
isAllowNullValue()
Returns true if the maps produced by AbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
supports null values. |
boolean |
isPutAddSupported()
Returns true if the maps produced by AbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
support the put and putAll operations
adding new mappings. |
boolean |
isPutChangeSupported()
Returns true if the maps produced by AbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
support the put and putAll operations
changing existing mappings. |
boolean |
isRemoveSupported()
Returns true if the maps produced by AbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
support the remove and clear operations. |
boolean |
isSetValueSupported()
Returns true if the maps produced by AbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
support the setValue operation on entrySet entries. |
BidiMap |
makeEmptyBidiMap()
Implement to create an empty BidiMap. |
BidiMap |
makeFullBidiMap()
Override to create a full BidiMap other than the default. |
java.util.Map |
makeFullMap()
Return a new, populated map. |
| Methods inherited from class org.apache.commons.collections.bidimap.AbstractTestBidiMap |
|---|
bulkTestBidiMapIterator, bulkTestInverseMap, bulkTestMapEntrySet, isAllowDuplicateValues, makeEmptyMap, testBidiClear, testBidiGetKey, testBidiGetKeyInverse, testBidiInverse, testBidiKeySetValuesOrder, testBidiMapIteratorSet, testBidiModifyEntrySet, testBidiPut, testBidiRemove, testBidiRemoveByEntrySet, testBidiRemoveByKeySet, verify, verifyInverse |
| Methods inherited from class org.apache.commons.collections.BulkTest |
|---|
clone, ignoredTests, makeSuite, toString |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractTestBidiMap.TestInverseBidiMap(AbstractTestBidiMap main)
| Method Detail |
|---|
public BidiMap makeEmptyBidiMap()
AbstractTestBidiMapBidiMap.
makeEmptyBidiMap in class AbstractTestBidiMapBidiMap implementation.public BidiMap makeFullBidiMap()
AbstractTestBidiMapBidiMap other than the default.
makeFullBidiMap in class AbstractTestBidiMapBidiMap implementation.public java.util.Map makeFullMap()
AbstractTestMapAbstractTestMap.getSampleKeys() and
AbstractTestMap.getSampleValues(). The default implementation uses makeEmptyMap()
and calls AbstractTestMap.addSampleMappings(java.util.Map) to add all the mappings to the
map.
makeFullMap in class AbstractTestMappublic java.lang.Object[] getSampleKeys()
AbstractTestMapAbstractTestMap.getSampleValues() and all array elements must be different. The
default implementation constructs a set of String keys, and includes a
single null key if AbstractTestMap.isAllowNullKey() returns true.
getSampleKeys in class AbstractTestMappublic java.lang.Object[] getSampleValues()
AbstractTestMapAbstractTestMap.getSampleKeys(). The default implementation constructs a set of
String values and includes a single null value if
AbstractTestMap.isAllowNullValue() returns true, and includes
two values that are the same if AbstractTestMap.isAllowDuplicateValues() returns
true.
getSampleValues in class AbstractTestMappublic java.lang.String getCompatibilityVersion()
AbstractTestBidiMap
getCompatibilityVersion in class AbstractTestBidiMapnull if this object shouldn't be
tested for compatibility with previous versions.public boolean isAllowNullKey()
AbstractTestMapAbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
supports null keys.
Default implementation returns true. Override if your collection class does not support null keys.
isAllowNullKey in class AbstractTestMappublic boolean isAllowNullValue()
AbstractTestMapAbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
supports null values.
Default implementation returns true. Override if your collection class does not support null values.
isAllowNullValue in class AbstractTestMappublic boolean isPutAddSupported()
AbstractTestMapAbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
support the put and putAll operations
adding new mappings.
Default implementation returns true. Override if your collection class does not support put adding.
isPutAddSupported in class AbstractTestMappublic boolean isPutChangeSupported()
AbstractTestMapAbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
support the put and putAll operations
changing existing mappings.
Default implementation returns true. Override if your collection class does not support put changing.
isPutChangeSupported in class AbstractTestMappublic boolean isSetValueSupported()
AbstractTestMapAbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
support the setValue operation on entrySet entries.
Default implementation returns isPutChangeSupported(). Override if your collection class does not support setValue but does support put changing.
isSetValueSupported in class AbstractTestMappublic boolean isRemoveSupported()
AbstractTestMapAbstractTestMap.makeEmptyMap() and AbstractTestMap.makeFullMap()
support the remove and clear operations.
Default implementation returns true. Override if your collection class does not support removal operations.
isRemoveSupported in class AbstractTestMap
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||