Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Dreesen (1.05 sec)

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

      public SafeTreeSet() {
        this(new TreeSet<E>());
      }
    
      public SafeTreeSet(Collection<? extends E> collection) {
        this(new TreeSet<E>(collection));
      }
    
      public SafeTreeSet(Comparator<? super E> comparator) {
        this(new TreeSet<E>(comparator));
      }
    
      public SafeTreeSet(SortedSet<E> set) {
        this(new TreeSet<E>(set));
      }
    
      private SafeTreeSet(NavigableSet<E> delegate) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateTreeSet(freshElement);
      }
    
      @Generates
      static <E extends Comparable<? super E>> TreeSet<E> generateTreeSet(E freshElement) {
        TreeSet<E> set = Sets.newTreeSet();
        set.add(freshElement);
        return set;
      }
    
      @Generates
      static <E extends Comparable<? super E>> ImmutableSortedSet<E> generateImmutableSortedSet(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeMultimap.java

      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Creates an empty {@code TreeSet} for a collection of values for one key.
       *
       * @return a new {@code TreeSet} containing a collection of values for one key
       */
      @Override
      SortedSet<V> createCollection() {
        return new TreeSet<>(valueComparator);
      }
    
      @Override
      Collection<V> createCollection(@ParametricNullness K key) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        MultisetTestSuiteBuilder.NoRecurse.NO_ENTRY_SET, // Cannot create entries with count > 1
      };
    
      static final Supplier<TreeSet<String>> STRING_TREESET_FACTORY =
          new Supplier<TreeSet<String>>() {
            @Override
            public TreeSet<String> get() {
              return new TreeSet<>(Ordering.natural().nullsLast());
            }
          };
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestStringSortedSetGenerator() {
                  @Override
                  public SortedSet<String> create(String[] elements) {
                    return new TreeSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("TreeSet, natural")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.KNOWN_ORDER,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.1K bytes
    - Viewed (0)
  7. 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)
  8. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateTreeSet(freshElement);
      }
    
      @Generates
      static <E extends Comparable<? super E>> TreeSet<E> generateTreeSet(E freshElement) {
        TreeSet<E> set = Sets.newTreeSet();
        set.add(freshElement);
        return set;
      }
    
      @Generates
      static <E extends Comparable<? super E>> ImmutableSortedSet<E> generateImmutableSortedSet(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
        for (E element : elements) {
          // Explicit null check because TreeSet wrongly accepts add(null) when empty.
          set.add(checkNotNull(element));
        }
        return set;
      }
    
      public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator {
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

        return Helpers.getMethod(CollectionAddTester.class, "testAdd_nullSupported");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.TreeSet} can suppress it with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top