Interface TestMultimapGenerator<K extends @Nullable Object,V extends @Nullable Object,M extends com.google.common.collect.Multimap<K,V>>
- All Superinterfaces:
TestContainerGenerator<M,
Map.Entry<K, V>>
- All Known Subinterfaces:
TestListMultimapGenerator<K,
,V> TestSetMultimapGenerator<K,
V>
- All Known Implementing Classes:
TestStringListMultimapGenerator
,TestStringSetMultimapGenerator
@GwtCompatible
@NullMarked
public interface TestMultimapGenerator<K extends @Nullable Object,V extends @Nullable Object,M extends com.google.common.collect.Multimap<K,V>>
extends TestContainerGenerator<M,Map.Entry<K,V>>
Creates multimaps, containing sample elements, to be tested.
- Author:
- Louis Wasserman
-
Method Summary
Modifier and TypeMethodDescriptioncreateCollection
(Iterable<? extends V> values) K[]
createKeyArray
(int length) V[]
createValueArray
(int length) Methods inherited from interface com.google.common.collect.testing.TestContainerGenerator
create, createArray, order, samples
-
Method Details
-
createKeyArray
-
createValueArray
-
sampleKeys
SampleElements<K> sampleKeys() -
sampleValues
SampleElements<V> sampleValues() -
createCollection
-