Interface TestQueueGenerator<E extends @Nullable Object>
- All Superinterfaces:
TestCollectionGenerator<E>
,TestContainerGenerator<Collection<E>,
E>
- All Known Implementing Classes:
TestStringQueueGenerator
@GwtCompatible
@NullMarked
public interface TestQueueGenerator<E extends @Nullable Object>
extends TestCollectionGenerator<E>
Creates queues, containing sample elements, to be tested.
- Author:
- Jared Levy
-
Method Summary
Methods inherited from interface com.google.common.collect.testing.TestContainerGenerator
createArray, order, samples
-
Method Details
-
create
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 extends @Nullable Object>,
E extends @Nullable Object>
-