HomeSort by relevance Sort by last modified time
    Searched refs:SampleElements (Results 1 - 25 of 39) sorted by null

1 2

  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SampleElements.java 28 public class SampleElements<E> {
36 public SampleElements(E e0, E e1, E e2, E e3, E e4) {
44 public static class Strings extends SampleElements<String> {
58 public static class Enums extends SampleElements<AnEnum> {
65 public static <K, V> SampleElements<Map.Entry<K, V>> mapEntries(
66 SampleElements<K> keys, SampleElements<V> values) {
67 return new SampleElements<Map.Entry<K, V>>(
75 public static class Unhashables extends SampleElements<UnhashableObject> {
85 public static class Colliders extends SampleElements<Object>
    [all...]
TestCollidingSetGenerator.java 19 import com.google.common.collect.testing.SampleElements.Colliders;
33 public SampleElements<Object> samples() {
TestMapEntrySetGenerator.java 32 private final SampleElements<K> keys;
33 private final SampleElements<V> values;
36 SampleElements<K> keys, SampleElements<V> values) {
42 public SampleElements<Map.Entry<K, V>> samples() {
43 return SampleElements.mapEntries(keys, values);
TestEnumSetGenerator.java 19 import com.google.common.collect.testing.SampleElements.Enums;
34 public SampleElements<AnEnum> samples() {
TestStringCollectionGenerator.java 19 import com.google.common.collect.testing.SampleElements.Strings;
34 public SampleElements<String> samples() {
TestStringListGenerator.java 19 import com.google.common.collect.testing.SampleElements.Strings;
33 public SampleElements<String> samples() {
TestStringQueueGenerator.java 19 import com.google.common.collect.testing.SampleElements.Strings;
35 public SampleElements<String> samples() {
TestStringSetGenerator.java 19 import com.google.common.collect.testing.SampleElements.Strings;
34 public SampleElements<String> samples() {
TestUnhashableCollectionGenerator.java 19 import com.google.common.collect.testing.SampleElements.Unhashables;
35 public SampleElements<UnhashableObject> samples() {
TestContainerGenerator.java 38 SampleElements<E> samples();
TestEnumMapGenerator.java 34 public SampleElements<Entry<AnEnum, String>> samples() {
35 return new SampleElements<Entry<AnEnum, String>>(
TestStringMapGenerator.java 37 public SampleElements<Map.Entry<String, String>> samples() {
38 return new SampleElements<Map.Entry<String, String>>(
OneSizeGenerator.java 50 public SampleElements<E> samples() {
73 SampleElements<E> samples = samples();
MapTestSuiteBuilder.java 191 public SampleElements<Map.Entry<K, V>> samples() {
212 // TODO: investigate some API changes to SampleElements that would tidy up
218 private final SampleElements<K> samples;
224 final SampleElements<Map.Entry<K, V>> mapSamples =
226 this.samples = new SampleElements<K>(
235 public SampleElements<K> samples() {
279 private final SampleElements<V> samples;
285 final SampleElements<Map.Entry<K, V>> mapSamples =
287 this.samples = new SampleElements<V>(
296 public SampleElements<V> samples()
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
TestStringMultisetGenerator.java 21 import com.google.common.collect.testing.SampleElements;
22 import com.google.common.collect.testing.SampleElements.Strings;
36 public SampleElements<String> samples() {
SortedMapGenerators.java 24 import com.google.common.collect.testing.SampleElements;
76 public SampleElements<String> samples() {
77 return new SampleElements.Strings();
104 super(new SampleElements.Strings(), new SampleElements.Strings());
110 builder.put(SampleElements.Strings.BEFORE_FIRST, "begin");
111 builder.put(SampleElements.Strings.AFTER_LAST, "end");
116 return builder.build().subMap(SampleElements.Strings.MIN_ELEMENT,
117 SampleElements.Strings.AFTER_LAST).entrySet();
130 builder.put(SampleElements.Strings.AFTER_LAST, -1)
    [all...]
TestEnumMultisetGenerator.java 22 import com.google.common.collect.testing.SampleElements;
23 import com.google.common.collect.testing.SampleElements.Enums;
38 public SampleElements<AnEnum> samples() {
MapGenerators.java 24 import com.google.common.collect.testing.SampleElements;
61 public SampleElements<String> samples() {
62 return new SampleElements.Strings();
103 super(new SampleElements.Strings(), new SampleElements.Strings());
123 public SampleElements<String> samples() {
124 return new SampleElements.Strings();
BiMapGenerators.java 24 import com.google.common.collect.testing.SampleElements;
68 super(new SampleElements.Strings(), new SampleElements.Strings());
107 super(new SampleElements.Strings(), new SampleElements.Strings());
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableMultimapTest.java 21 import com.google.common.collect.testing.SampleElements;
22 import com.google.common.collect.testing.SampleElements.Unhashables;
101 SampleElements<UnhashableObject> unhashables = new Unhashables();
109 SampleElements<UnhashableObject> unhashables = new Unhashables();
ContiguousSetNonGwtTest.java 22 import com.google.common.collect.testing.SampleElements;
79 @Override public SampleElements<Integer> samples() {
80 return new SampleElements<Integer>(1, 2, 3, 4, 5);
TransformedSetTest.java 21 import com.google.common.collect.testing.SampleElements;
118 @Override public SampleElements<Integer> samples() {
119 return new SampleElements<Integer>(-1, 0, 1, 2, 3);
  /external/guava/guava-tests/test/com/google/common/primitives/
ByteArrayAsListTest.java 24 import com.google.common.collect.testing.SampleElements;
125 public SampleElements<Byte> samples() {
157 public static class SampleBytes extends SampleElements<Byte> {
CharArrayAsListTest.java 24 import com.google.common.collect.testing.SampleElements;
125 public SampleElements<Character> samples() {
157 public static class SampleChars extends SampleElements<Character> {
DoubleArrayAsListTest.java 24 import com.google.common.collect.testing.SampleElements;
125 public SampleElements<Double> samples() {
157 public static class SampleDoubles extends SampleElements<Double> {

Completed in 593 milliseconds

1 2