com.google.common.collect.testing
Interface TestMapGenerator<K,V>

All Superinterfaces:
TestContainerGenerator<Map<K,V>,Map.Entry<K,V>>
All Known Implementing Classes:
DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator, DerivedGoogleCollectionGenerators.MapGenerator, MapGenerators.ImmutableMapGenerator, NavigableMapTestSuiteBuilder.NavigableMapSubmapTestMapGenerator, SortedMapGenerators.ImmutableSortedMapGenerator, TestEnumMapGenerator, TestStringMapGenerator, TestStringSortedMapGenerator

@GwtCompatible
public interface TestMapGenerator<K,V>
extends TestContainerGenerator<Map<K,V>,Map.Entry<K,V>>

Creates maps, containing sample elements, to be tested.

This class is GWT compatible.

Author:
George van den Driessche

Method Summary
 K[] createKeyArray(int length)
           
 V[] createValueArray(int length)
           
 
Methods inherited from interface com.google.common.collect.testing.TestContainerGenerator
create, createArray, order, samples
 

Method Detail

createKeyArray

K[] createKeyArray(int length)

createValueArray

V[] createValueArray(int length)


Copyright © 2010-2012. All Rights Reserved.