Home
last modified time | relevance | path

Searched refs:mapGenerator (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DDerivedCollectionGenerators.java48 mapGenerator; field in DerivedCollectionGenerators.MapEntrySetGenerator
52 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in MapEntrySetGenerator() argument
53 this.mapGenerator = mapGenerator; in MapEntrySetGenerator()
58 return mapGenerator.samples(); in samples()
63 return mapGenerator.create(elements).entrySet(); in create()
68 return mapGenerator.createArray(length); in createArray()
74 return mapGenerator.order(insertionOrder); in order()
79 return mapGenerator; in getInnerGenerator()
87 OneSizeTestContainerGenerator<Map<K, V>, Map.Entry<K, V>> mapGenerator) { in keySetGenerator() argument
88 TestContainerGenerator<Map<K, V>, Entry<K, V>> generator = mapGenerator.getInnerGenerator(); in keySetGenerator()
[all …]
DMapTestSuiteBuilder.java223 mapGenerator; field in MapTestSuiteBuilder.ReserializedMapGenerator
227 Map<K, V>, Map.Entry<K, V>> mapGenerator) { in ReserializedMapGenerator() argument
228 this.mapGenerator = mapGenerator; in ReserializedMapGenerator()
233 return mapGenerator.samples(); in samples()
238 return mapGenerator.createArray(length); in createArray()
244 return mapGenerator.order(insertionOrder); in order()
249 return SerializableTester.reserialize(mapGenerator.create(elements)); in create()
254 return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()) in createKeyArray()
260 return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()) in createValueArray()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DDerivedGoogleCollectionGenerators.java152 mapGenerator; field in DerivedGoogleCollectionGenerators.BiMapValueSetGenerator
156 OneSizeTestContainerGenerator<BiMap<K, V>, Entry<K, V>> mapGenerator) { in BiMapValueSetGenerator() argument
157 this.mapGenerator = mapGenerator; in BiMapValueSetGenerator()
159 this.mapGenerator.samples(); in BiMapValueSetGenerator()
180 mapGenerator.getSampleElements(elements.length); in create()
190 return mapGenerator.create(entries.toArray()).values(); in create()
195 final V[] vs = ((TestBiMapGenerator<K, V>) mapGenerator.getInnerGenerator()) in createArray()
206 return mapGenerator; in getInnerGenerator()