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
...]
TreeMultimapNaturalTest.java
279
TreeMultimap<
LegacyComparable
,
LegacyComparable
> multimap
282
multimap.put(new
LegacyComparable
("foo"), new
LegacyComparable
("f"));
283
multimap.put(new
LegacyComparable
("foo"), new
LegacyComparable
("o"));
284
multimap.put(new
LegacyComparable
("foo"), new
LegacyComparable
("o"));
285
multimap.put(new
LegacyComparable
("bar"), new
LegacyComparable
("b"))
[
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
...]
MultisetsTest.java
54
TreeMultiset<
LegacyComparable
> set = TreeMultiset.create();
56
set.add(new
LegacyComparable
("foo"), 2);
57
set.add(new
LegacyComparable
("bar"), 3);
58
ASSERT.that(set).has().exactly(new
LegacyComparable
("bar"),
59
new
LegacyComparable
("bar"), new
LegacyComparable
("bar"),
60
new
LegacyComparable
("foo"), new
LegacyComparable
("foo")).inOrder();
SetsTest.java
454
TreeSet<
LegacyComparable
> set = Sets.newTreeSet();
456
set.add(new
LegacyComparable
("foo"));
457
set.add(new
LegacyComparable
("bar"));
459
.exactly(new
LegacyComparable
("bar"), new
LegacyComparable
("foo")).inOrder();
481
Iterable<
LegacyComparable
> iterable =
482
Arrays.asList(new
LegacyComparable
("foo"), new
LegacyComparable
("bar"));
483
TreeSet<
LegacyComparable
> set = Sets.newTreeSet(iterable);
485
new
LegacyComparable
("bar"), new LegacyComparable("foo")).inOrder()
[
all
...]
RangeTest.java
535
Range<
LegacyComparable
> range
536
= Range.closed(
LegacyComparable
.X,
LegacyComparable
.Y);
MapsTest.java
251
TreeMap<
LegacyComparable
, Integer> map = Maps.newTreeMap();
253
map.put(new
LegacyComparable
("foo"), 1);
254
map.put(new
LegacyComparable
("bar"), 2);
256
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
52
TreeMultiset<
LegacyComparable
> set = TreeMultiset.create();
54
set.add(new
LegacyComparable
("foo"), 2);
55
set.add(new
LegacyComparable
("bar"), 3);
56
ASSERT.that(set).has().exactly(new
LegacyComparable
("bar"),
57
new
LegacyComparable
("bar"), new
LegacyComparable
("bar"),
58
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 2659 milliseconds