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

  /external/guava/guava-tests/test/com/google/common/collect/
LegacyComparable.java 33 class LegacyComparable implements Comparable, Serializable {
34 static final LegacyComparable X = new LegacyComparable("x");
35 static final LegacyComparable Y = new LegacyComparable("y");
36 static final LegacyComparable Z = new LegacyComparable("z");
38 static final Iterable<LegacyComparable> VALUES_FORWARD
40 static final Iterable<LegacyComparable> VALUES_BACKWARD
45 LegacyComparable(String value)
    [all...]
MultisetsTest.java 122 TreeMultiset<LegacyComparable> set = TreeMultiset.create();
124 set.add(new LegacyComparable("foo"), 2);
125 set.add(new LegacyComparable("bar"), 3);
126 ASSERT.that(set).hasContentsInOrder(new LegacyComparable("bar"),
127 new LegacyComparable("bar"), new LegacyComparable("bar"),
128 new LegacyComparable("foo"), new LegacyComparable("foo"));
ImmutableSortedSetTest.java 694 ImmutableSortedSet<LegacyComparable> set0 = ImmutableSortedSet.of();
697 ImmutableSortedSet<LegacyComparable> set1 = ImmutableSortedSet.of(
698 LegacyComparable.Z);
701 ImmutableSortedSet<LegacyComparable> set2 = ImmutableSortedSet.of(
702 LegacyComparable.Z, LegacyComparable.Y);
706 ImmutableSortedSet<LegacyComparable> set
707 = ImmutableSortedSet.copyOf(LegacyComparable.VALUES_BACKWARD);
708 assertTrue(Iterables.elementsEqual(LegacyComparable.VALUES_FORWARD, set));
712 ImmutableSortedSet<LegacyComparable> set = ImmutableSortedSet.copyOf
    [all...]
TreeMultimapNaturalTest.java 494 TreeMultimap<LegacyComparable, LegacyComparable> multimap
497 multimap.put(new LegacyComparable("foo"), new LegacyComparable("f"));
498 multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
499 multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
500 multimap.put(new LegacyComparable("bar"), new LegacyComparable("b"))
    [all...]
SetsTest.java 433 TreeSet<LegacyComparable> set = Sets.newTreeSet();
435 set.add(new LegacyComparable("foo"));
436 set.add(new LegacyComparable("bar"));
437 ASSERT.that(set).hasContentsInOrder(new LegacyComparable("bar"), new LegacyComparable("foo"));
459 Iterable<LegacyComparable> iterable =
460 Arrays.asList(new LegacyComparable("foo"), new LegacyComparable("bar"));
461 TreeSet<LegacyComparable> set = Sets.newTreeSet(iterable);
463 new LegacyComparable("bar"), new LegacyComparable("foo"))
    [all...]
RangeTest.java 531 Range<LegacyComparable> range
532 = Ranges.closed(LegacyComparable.X, LegacyComparable.Y);
MapsTest.java 241 TreeMap<LegacyComparable, Integer> map = Maps.newTreeMap();
243 map.put(new LegacyComparable("foo"), 1);
244 map.put(new LegacyComparable("bar"), 2);
246 new LegacyComparable("bar"), new LegacyComparable("foo"));
    [all...]

Completed in 2628 milliseconds