HomeSort by relevance Sort by last modified time
    Searched refs:UnhashableObject (Results 1 - 8 of 8) sorted by null

  /external/guava/guava-testlib/src/com/google/common/collect/testing/
UnhashableObject.java 26 public class UnhashableObject implements Comparable<UnhashableObject> {
29 public UnhashableObject(int value) {
34 if (object instanceof UnhashableObject) {
35 UnhashableObject that = (UnhashableObject) object;
51 public int compareTo(UnhashableObject o) {
TestUnhashableCollectionGenerator.java 32 TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>>
33 implements TestCollectionGenerator<UnhashableObject> {
35 public SampleElements<UnhashableObject> samples() {
41 UnhashableObject[] array = createArray(elements.length);
44 array[i++] = (UnhashableObject) e;
53 protected abstract T create(UnhashableObject[] elements);
56 public UnhashableObject[] createArray(int length) {
57 return new UnhashableObject[length];
61 public Iterable<UnhashableObject> order(
62 List<UnhashableObject> insertionOrder)
    [all...]
SampleElements.java 75 public static class Unhashables extends SampleElements<UnhashableObject> {
77 super(new UnhashableObject(1),
78 new UnhashableObject(2),
79 new UnhashableObject(3),
80 new UnhashableObject(4),
81 new UnhashableObject(5));
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MapGenerators.java 30 import com.google.common.collect.testing.UnhashableObject;
86 extends TestUnhashableCollectionGenerator<Collection<UnhashableObject>> {
88 @Override public Collection<UnhashableObject> create(
89 UnhashableObject[] elements) {
90 Builder<Integer, UnhashableObject> builder = ImmutableMap.builder();
92 for (UnhashableObject value : elements) {
ListGenerators.java 27 import com.google.common.collect.testing.UnhashableObject;
117 extends TestUnhashableCollectionGenerator<List<UnhashableObject>>
118 implements TestListGenerator<UnhashableObject> {
124 public List<UnhashableObject> create(UnhashableObject[] elements) {
SetGenerators.java 37 import com.google.common.collect.testing.UnhashableObject;
176 @Override public Set<UnhashableObject> create(
177 UnhashableObject[] elements) {
244 extends TestUnhashableCollectionGenerator<Set<UnhashableObject>>
245 implements TestSetGenerator<UnhashableObject> {
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableMultimapTest.java 23 import com.google.common.collect.testing.UnhashableObject;
101 SampleElements<UnhashableObject> unhashables = new Unhashables();
102 Multimap<Integer, UnhashableObject> multimap = ImmutableMultimap.of(
109 SampleElements<UnhashableObject> unhashables = new Unhashables();
ImmutableMapTest.java 34 import com.google.common.collect.testing.UnhashableObject;
252 extends AbstractMapTests<Integer, UnhashableObject> {
253 @Override protected Map<Integer, UnhashableObject> makeEmptyMap() {
257 @Override protected Map<Integer, UnhashableObject> makePopulatedMap() {
267 @Override protected UnhashableObject getValueNotInPopulatedMap() {
275 @Override protected Map<Integer, UnhashableObject> makePopulatedMap() {

Completed in 63 milliseconds