Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DerivedComparable (0.2 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 989 bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 11 18:08:12 GMT 2012
    - 989 bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      public void testTreeMultimapDerived() {
        TreeMultimap<DerivedComparable, DerivedComparable> multimap = TreeMultimap.create();
        assertEquals(ImmutableMultimap.of(), multimap);
        multimap.put(new DerivedComparable("foo"), new DerivedComparable("f"));
        multimap.put(new DerivedComparable("foo"), new DerivedComparable("o"));
        multimap.put(new DerivedComparable("foo"), new DerivedComparable("o"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      public void testTreeMultimapDerived() {
        TreeMultimap<DerivedComparable, DerivedComparable> multimap = TreeMultimap.create();
        assertEquals(ImmutableMultimap.of(), multimap);
        multimap.put(new DerivedComparable("foo"), new DerivedComparable("f"));
        multimap.put(new DerivedComparable("foo"), new DerivedComparable("o"));
        multimap.put(new DerivedComparable("foo"), new DerivedComparable("o"));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

      public void testNewTreeMultisetDerived() {
        TreeMultiset<DerivedComparable> set = TreeMultiset.create();
        assertTrue(set.isEmpty());
        set.add(new DerivedComparable("foo"), 2);
        set.add(new DerivedComparable("bar"), 3);
        assertThat(set)
            .containsExactly(
                new DerivedComparable("bar"),
                new DerivedComparable("bar"),
                new DerivedComparable("bar"),
                new DerivedComparable("foo"),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultisetsTest.java

      public void testNewTreeMultisetDerived() {
        TreeMultiset<DerivedComparable> set = TreeMultiset.create();
        assertTrue(set.isEmpty());
        set.add(new DerivedComparable("foo"), 2);
        set.add(new DerivedComparable("bar"), 3);
        assertThat(set)
            .containsExactly(
                new DerivedComparable("bar"),
                new DerivedComparable("bar"),
                new DerivedComparable("bar"),
                new DerivedComparable("foo"),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top