|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.common.collect.testing.TestCollidingSetGenerator
public abstract class TestCollidingSetGenerator
A generator using sample elements whose hash codes all collide badly.
This class is GWT compatible.
Constructor Summary | |
---|---|
TestCollidingSetGenerator()
|
Method Summary | |
---|---|
Object[] |
createArray(int length)
Helper method to create an array of the appropriate type used by this generator. |
List<Object> |
order(List<Object> insertionOrder)
Returns the original element list, unchanged. |
SampleElements<Object> |
samples()
Returns the sample elements that this generate populates its container with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.collect.testing.TestSetGenerator |
---|
create |
Constructor Detail |
---|
public TestCollidingSetGenerator()
Method Detail |
---|
public SampleElements<Object> samples()
TestContainerGenerator
samples
in interface TestContainerGenerator<Collection<Object>,Object>
public Object[] createArray(int length)
TestContainerGenerator
createArray
in interface TestContainerGenerator<Collection<Object>,Object>
public List<Object> order(List<Object> insertionOrder)
order
in interface TestContainerGenerator<Collection<Object>,Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |