OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LegacyComparable
(Results
1 - 11
of
11
) 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
...]
ImmutableSortedSetTest.java
796
ImmutableSortedSet<
LegacyComparable
> set0 = ImmutableSortedSet.of();
799
ImmutableSortedSet<
LegacyComparable
> set1 = ImmutableSortedSet.of(
800
LegacyComparable
.Z);
803
ImmutableSortedSet<
LegacyComparable
> set2 = ImmutableSortedSet.of(
804
LegacyComparable
.Z,
LegacyComparable
.Y);
808
ImmutableSortedSet<
LegacyComparable
> set
809
= ImmutableSortedSet.copyOf(
LegacyComparable
.VALUES_BACKWARD);
810
assertTrue(Iterables.elementsEqual(
LegacyComparable
.VALUES_FORWARD, set));
814
ImmutableSortedSet<
LegacyComparable
> set = ImmutableSortedSet.copyOf
[
all
...]
TreeMultimapNaturalTest.java
436
TreeMultimap<
LegacyComparable
,
LegacyComparable
> multimap
439
multimap.put(new
LegacyComparable
("foo"), new
LegacyComparable
("f"));
440
multimap.put(new
LegacyComparable
("foo"), new
LegacyComparable
("o"));
441
multimap.put(new
LegacyComparable
("foo"), new
LegacyComparable
("o"));
442
multimap.put(new
LegacyComparable
("bar"), new
LegacyComparable
("b"))
[
all
...]
MultisetsTest.java
55
TreeMultiset<
LegacyComparable
> set = TreeMultiset.create();
57
set.add(new
LegacyComparable
("foo"), 2);
58
set.add(new
LegacyComparable
("bar"), 3);
59
assertThat(set).has().exactly(new
LegacyComparable
("bar"),
60
new
LegacyComparable
("bar"), new
LegacyComparable
("bar"),
61
new
LegacyComparable
("foo"), new
LegacyComparable
("foo")).inOrder();
SetsTest.java
495
TreeSet<
LegacyComparable
> set = Sets.newTreeSet();
497
set.add(new
LegacyComparable
("foo"));
498
set.add(new
LegacyComparable
("bar"));
500
.exactly(new
LegacyComparable
("bar"), new
LegacyComparable
("foo")).inOrder();
522
Iterable<
LegacyComparable
> iterable =
523
Arrays.asList(new
LegacyComparable
("foo"), new
LegacyComparable
("bar"));
524
TreeSet<
LegacyComparable
> set = Sets.newTreeSet(iterable);
526
new
LegacyComparable
("bar"), new LegacyComparable("foo")).inOrder()
[
all
...]
RangeTest.java
535
Range<
LegacyComparable
> range
536
= Range.closed(
LegacyComparable
.X,
LegacyComparable
.Y);
MapsTest.java
254
TreeMap<
LegacyComparable
, Integer> map = Maps.newTreeMap();
256
map.put(new
LegacyComparable
("foo"), 1);
257
map.put(new
LegacyComparable
("bar"), 2);
259
new
LegacyComparable
("bar"), new
LegacyComparable
("foo")).inOrder();
[
all
...]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ImmutableSortedSetTest.java
627
ImmutableSortedSet<
LegacyComparable
> set0 = ImmutableSortedSet.of();
630
ImmutableSortedSet<
LegacyComparable
> set1 = ImmutableSortedSet.of(
631
LegacyComparable
.Z);
634
ImmutableSortedSet<
LegacyComparable
> set2 = ImmutableSortedSet.of(
635
LegacyComparable
.Z,
LegacyComparable
.Y);
639
ImmutableSortedSet<
LegacyComparable
> set
640
= ImmutableSortedSet.copyOf(
LegacyComparable
.VALUES_BACKWARD);
641
assertTrue(Iterables.elementsEqual(
LegacyComparable
.VALUES_FORWARD, set));
645
ImmutableSortedSet<
LegacyComparable
> set = ImmutableSortedSet.copyOf
[
all
...]
MultisetsTest.java
53
TreeMultiset<
LegacyComparable
> set = TreeMultiset.create();
55
set.add(new
LegacyComparable
("foo"), 2);
56
set.add(new
LegacyComparable
("bar"), 3);
57
assertThat(set).has().exactly(new
LegacyComparable
("bar"),
58
new
LegacyComparable
("bar"), new
LegacyComparable
("bar"),
59
new
LegacyComparable
("foo"), new
LegacyComparable
("foo")).inOrder();
SetsTest.java
237
TreeSet<
LegacyComparable
> set = Sets.newTreeSet();
239
set.add(new
LegacyComparable
("foo"));
240
set.add(new
LegacyComparable
("bar"));
242
.exactly(new
LegacyComparable
("bar"), new
LegacyComparable
("foo")).inOrder();
264
Iterable<
LegacyComparable
> iterable =
265
Arrays.asList(new
LegacyComparable
("foo"), new
LegacyComparable
("bar"));
266
TreeSet<
LegacyComparable
> set = Sets.newTreeSet(iterable);
268
new
LegacyComparable
("bar"), new LegacyComparable("foo")).inOrder()
[
all
...]
MapsTest.java
193
TreeMap<
LegacyComparable
, Integer> map = Maps.newTreeMap();
195
map.put(new
LegacyComparable
("foo"), 1);
196
map.put(new
LegacyComparable
("bar"), 2);
198
new
LegacyComparable
("bar"), new
LegacyComparable
("foo")).inOrder();
[
all
...]
Completed in 99 milliseconds