Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Dreesen (0.17 sec)

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

        verifySetContents(set, EMPTY_COLLECTION);
      }
    
      public void testNewTreeSetEmpty() {
        TreeSet<Integer> set = Sets.newTreeSet();
        verifySortedSetContents(set, EMPTY_COLLECTION, null);
      }
    
      public void testNewTreeSetEmptyDerived() {
        TreeSet<Derived> set = Sets.newTreeSet();
        assertTrue(set.isEmpty());
        set.add(new Derived("foo"));
        set.add(new Derived("bar"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

       * use the {@code TreeSet} constructor directly, taking advantage of <a
       * href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
       *
       * @return a new, empty {@code TreeSet}
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeSet<E> newTreeSet() {
        return new TreeSet<>();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top