Home
last modified time | relevance | path

Searched refs:SampleElements (Results 1 – 25 of 65) sorted by relevance

123

/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSampleElements.java32 public class SampleElements<E> implements Iterable<E> { class
40 public SampleElements(E e0, E e1, E e2, E e3, E e4) { in SampleElements() method in SampleElements
57 public static class Strings extends SampleElements<String> {
71 public static class Chars extends SampleElements<Character> {
78 public static class Enums extends SampleElements<AnEnum> {
85 public static class Ints extends SampleElements<Integer> {
92 public static <K, V> SampleElements<Map.Entry<K, V>> mapEntries( in mapEntries()
93 SampleElements<K> keys, SampleElements<V> values) { in mapEntries()
94 return new SampleElements<Map.Entry<K, V>>( in mapEntries()
102 public static class Unhashables extends SampleElements<UnhashableObject> {
[all …]
DTestMapEntrySetGenerator.java33 private final SampleElements<K> keys;
34 private final SampleElements<V> values;
37 SampleElements<K> keys, SampleElements<V> values) { in TestMapEntrySetGenerator()
43 public SampleElements<Map.Entry<K, V>> samples() { in samples()
44 return SampleElements.mapEntries(keys, values); in samples()
DDerivedCollectionGenerators.java57 public SampleElements<Map.Entry<K, V>> samples() { in samples()
101 private final SampleElements<K> samples;
107 final SampleElements<Map.Entry<K, V>> mapSamples = in MapKeySetGenerator()
109 this.samples = new SampleElements<K>( in MapKeySetGenerator()
118 public SampleElements<K> samples() { in samples()
214 private final SampleElements<V> samples;
220 final SampleElements<Map.Entry<K, V>> mapSamples = in MapValueCollectionGenerator()
222 this.samples = new SampleElements<V>( in MapValueCollectionGenerator()
231 public SampleElements<V> samples() { in samples()
316 public SampleElements<Entry<K, V>> samples() { in samples()
[all …]
DTestCollidingSetGenerator.java20 import com.google.common.collect.testing.SampleElements.Colliders;
33 public SampleElements<Object> samples() { in samples()
DTestStringListGenerator.java20 import com.google.common.collect.testing.SampleElements.Strings;
33 public SampleElements<String> samples() { in samples()
DTestCharacterListGenerator.java20 import com.google.common.collect.testing.SampleElements.Chars;
34 public SampleElements<Character> samples() { in samples()
DTestStringCollectionGenerator.java20 import com.google.common.collect.testing.SampleElements.Strings;
34 public SampleElements<String> samples() { in samples()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DTestStringListMultimapGenerator.java22 import com.google.common.collect.testing.SampleElements;
39 public SampleElements<Map.Entry<String, String>> samples() { in samples()
40 return new SampleElements<Map.Entry<String, String>>( in samples()
49 public SampleElements<String> sampleKeys() { in sampleKeys()
50 return new SampleElements<String>("one", "two", "three", "four", "five"); in sampleKeys()
54 public SampleElements<String> sampleValues() { in sampleValues()
55 return new SampleElements<String>("January", "February", "March", "April", "May"); in sampleValues()
DTestStringSetMultimapGenerator.java21 import com.google.common.collect.testing.SampleElements;
38 public SampleElements<Map.Entry<String, String>> samples() { in samples()
39 return new SampleElements<Map.Entry<String, String>>( in samples()
48 public SampleElements<String> sampleKeys() { in sampleKeys()
49 return new SampleElements<String>("one", "two", "three", "four", "five"); in sampleKeys()
53 public SampleElements<String> sampleValues() { in sampleValues()
54 return new SampleElements<String>("January", "February", "March", "April", "May"); in sampleValues()
DDerivedGoogleCollectionGenerators.java24 import com.google.common.collect.testing.SampleElements;
54 public SampleElements<Map.Entry<K, V>> samples() { in samples()
101 public SampleElements<Map.Entry<V, K>> samples() { in samples()
102 SampleElements<Entry<K, V>> samples = generator.samples(); in samples()
103 return new SampleElements<Map.Entry<V, K>>(reverse(samples.e0), reverse(samples.e1), in samples()
153 private final SampleElements<V> samples;
158 final SampleElements<Map.Entry<K, V>> mapSamples = in BiMapValueSetGenerator()
160 this.samples = new SampleElements<V>( in BiMapValueSetGenerator()
169 public SampleElements<V> samples() { in samples()
DTestMultimapGenerator.java21 import com.google.common.collect.testing.SampleElements;
40 SampleElements<K> sampleKeys(); in sampleKeys()
42 SampleElements<V> sampleValues(); in sampleValues()
DTestStringMultisetGenerator.java21 import com.google.common.collect.testing.SampleElements;
22 import com.google.common.collect.testing.SampleElements.Strings;
36 public SampleElements<String> samples() { in samples()
DTestEnumMultisetGenerator.java22 import com.google.common.collect.testing.SampleElements;
23 import com.google.common.collect.testing.SampleElements.Enums;
38 public SampleElements<AnEnum> samples() { in samples()
DTestStringBiMapGenerator.java22 import com.google.common.collect.testing.SampleElements;
42 public SampleElements<Map.Entry<String, String>> samples() { in samples()
43 return new SampleElements<Map.Entry<String, String>>( in samples()
DMultisetTestSuiteBuilder.java29 import com.google.common.collect.testing.SampleElements;
172 public SampleElements<E> samples() { in samples()
205 public SampleElements<Multiset.Entry<E>> samples() { in samples()
206 SampleElements<E> samples = gen.samples(); in samples()
207 return new SampleElements<Multiset.Entry<E>>( in samples()
264 public SampleElements<E> samples() { in samples()
/external/guava/guava-tests/test/com/google/common/collect/
DMultimapsCollectionTest.java36 import com.google.common.collect.testing.SampleElements;
179 public SampleElements<Entry<String, Integer>> samples() { in samples()
180 return new SampleElements<Entry<String, Integer>>( in samples()
328 public SampleElements<String> sampleKeys() { in sampleKeys()
329 return new SampleElements<String>("one", "two", "three", "four", "five"); in sampleKeys()
333 public SampleElements<String> sampleValues() { in sampleValues()
334 return new SampleElements<String>("january", "february", "march", "april", "may"); in sampleValues()
343 public SampleElements<Entry<String, String>> samples() { in samples()
344 return new SampleElements<Entry<String, String>>( in samples()
468 public SampleElements<Entry<String, Integer>> samples() { in samples()
[all …]
DImmutableMultimapTest.java21 import com.google.common.collect.testing.SampleElements;
22 import com.google.common.collect.testing.SampleElements.Unhashables;
102 SampleElements<UnhashableObject> unhashables = new Unhashables(); in testUnhashableSingletonValue()
110 SampleElements<UnhashableObject> unhashables = new Unhashables(); in testUnhashableMixedValues()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableMultimapTest.java21 import com.google.common.collect.testing.SampleElements;
22 import com.google.common.collect.testing.SampleElements.Unhashables;
102 SampleElements<UnhashableObject> unhashables = new Unhashables(); in testUnhashableSingletonValue()
110 SampleElements<UnhashableObject> unhashables = new Unhashables(); in testUnhashableMixedValues()
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DCharArrayAsListTest.java22 import com.google.common.collect.testing.SampleElements;
89 public SampleElements<Character> samples() { in samples()
121 public static class SampleChars extends SampleElements<Character> {
DIntArrayAsListTest.java22 import com.google.common.collect.testing.SampleElements;
90 public SampleElements<Integer> samples() { in samples()
121 public static class SampleIntegers extends SampleElements<Integer> {
DLongArrayAsListTest.java22 import com.google.common.collect.testing.SampleElements;
89 public SampleElements<Long> samples() { in samples()
121 public static class SampleLongs extends SampleElements<Long> {
DByteArrayAsListTest.java22 import com.google.common.collect.testing.SampleElements;
89 public SampleElements<Byte> samples() { in samples()
121 public static class SampleBytes extends SampleElements<Byte> {
DFloatArrayAsListTest.java22 import com.google.common.collect.testing.SampleElements;
89 public SampleElements<Float> samples() { in samples()
121 public static class SampleFloats extends SampleElements<Float> {
DShortArrayAsListTest.java22 import com.google.common.collect.testing.SampleElements;
89 public SampleElements<Short> samples() { in samples()
121 public static class SampleShorts extends SampleElements<Short> {
DDoubleArrayAsListTest.java22 import com.google.common.collect.testing.SampleElements;
89 public SampleElements<Double> samples() { in samples()
121 public static class SampleDoubles extends SampleElements<Double> {

123