com.google.common.collect.testing.google
Class SetGenerators.ImmutableSetWithBadHashesGenerator
java.lang.Object
com.google.common.collect.testing.TestCollidingSetGenerator
com.google.common.collect.testing.google.SetGenerators.ImmutableSetWithBadHashesGenerator
- All Implemented Interfaces:
- TestCollectionGenerator<Object>, TestContainerGenerator<Collection<Object>,Object>, TestSetGenerator<Object>
- Enclosing class:
- SetGenerators
public static class SetGenerators.ImmutableSetWithBadHashesGenerator
- extends TestCollidingSetGenerator
- implements TestCollectionGenerator<Object>
Method Summary |
Set<Object> |
create(Object... elements)
Creates a new container containing the given elements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetGenerators.ImmutableSetWithBadHashesGenerator
public SetGenerators.ImmutableSetWithBadHashesGenerator()
create
public Set<Object> create(Object... elements)
- Description copied from interface:
TestContainerGenerator
- Creates a new container containing the given elements. TODO: would be nice
to figure out how to use E... or E[] as a parameter type, but this doesn't
seem to work because Java creates an array of the erased type.
- Specified by:
create
in interface TestContainerGenerator<Collection<Object>,Object>
- Specified by:
create
in interface TestSetGenerator<Object>
Copyright © 2010-2012. All Rights Reserved.