Interface TestMultisetGenerator<E>
-
- All Superinterfaces:
TestCollectionGenerator<E>
,TestContainerGenerator<Collection<E>,E>
- All Known Implementing Classes:
TestEnumMultisetGenerator
,TestStringMultisetGenerator
@GwtCompatible public interface TestMultisetGenerator<E> extends TestCollectionGenerator<E>
Creates multisets, containing sample elements, to be tested.- Author:
- Jared Levy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.collect.Multiset<E>
create(Object... elements)
Creates a new container containing the given elements.-
Methods inherited from interface com.google.common.collect.testing.TestContainerGenerator
createArray, order, samples
-
-
-
-
Method Detail
-
create
com.google.common.collect.Multiset<E> 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 interfaceTestContainerGenerator<Collection<E>,E>
-
-