Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for LegacyComparable (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/LegacyComparable.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class LegacyComparable implements Comparable, Serializable {
      static final LegacyComparable X = new LegacyComparable("x");
      static final LegacyComparable Y = new LegacyComparable("y");
      static final LegacyComparable Z = new LegacyComparable("z");
    
      static final Iterable<LegacyComparable> VALUES_FORWARD = asList(X, Y, Z);
      static final Iterable<LegacyComparable> VALUES_BACKWARD = asList(Z, Y, X);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/LegacyComparable.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    class LegacyComparable implements Comparable, Serializable {
      static final LegacyComparable X = new LegacyComparable("x");
      static final LegacyComparable Y = new LegacyComparable("y");
      static final LegacyComparable Z = new LegacyComparable("z");
    
      static final Iterable<LegacyComparable> VALUES_FORWARD = asList(X, Y, Z);
      static final Iterable<LegacyComparable> VALUES_BACKWARD = asList(Z, Y, X);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

            ImmutableSortedSet.of(LegacyComparable.Z, LegacyComparable.Y);
        assertThat(set2).containsExactly(LegacyComparable.Y, LegacyComparable.Z);
      }
    
      public void testLegacyComparable_copyOf_collection() {
        ImmutableSortedSet<LegacyComparable> set =
            ImmutableSortedSet.copyOf(LegacyComparable.VALUES_BACKWARD);
        assertTrue(elementsEqual(LegacyComparable.VALUES_FORWARD, set));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      public void testTreeMultimapNonGeneric() {
        TreeMultimap<LegacyComparable, LegacyComparable> multimap = TreeMultimap.create();
        assertEquals(ImmutableMultimap.of(), multimap);
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("f"));
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
        multimap.put(new LegacyComparable("foo"), new LegacyComparable("o"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      public void testNewTreeSetFromIterableNonGeneric() {
        Iterable<LegacyComparable> iterable =
            asList(new LegacyComparable("foo"), new LegacyComparable("bar"));
        TreeSet<LegacyComparable> set = Sets.newTreeSet(iterable);
        assertThat(set)
            .containsExactly(new LegacyComparable("bar"), new LegacyComparable("foo"))
            .inOrder();
      }
    
      public void testNewTreeSetEmptyWithComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RangeTest.java

            .testEquals();
      }
    
      @GwtIncompatible // TODO(b/148207871): Restore once Eclipse compiler no longer flakes for this.
      public void testLegacyComparable() {
        Range<LegacyComparable> unused = Range.closed(LegacyComparable.X, LegacyComparable.Y);
      }
    
      private static final DiscreteDomain<Integer> UNBOUNDED_DOMAIN =
          new DiscreteDomain<Integer>() {
            @Override
            public Integer next(Integer value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top