Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Dreesen (0.21 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. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(TreeSet.class).isEmpty());
        assertTrue(ArbitraryInstances.get(TreeMap.class).isEmpty());
        assertFreshInstanceReturned(
            LinkedList.class,
            Deque.class,
            Queue.class,
            PriorityQueue.class,
            BitSet.class,
            TreeSet.class,
            TreeMap.class);
      }
    
      public void testGet_misc() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

     * Collections#singleton(Object)} and {@link java.util.LinkedHashSet} for empty, singleton and
     * regular sets respectively. For the sorted sets, it's a thin wrapper around {@link
     * java.util.TreeSet}.
     *
     * @see ImmutableSortedSet
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("serial") // Serialization only done in GWT.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * instance should be created every time the method is called.
     *
     * <p>For example, the subclass could pass a {@link java.util.TreeMap} during construction, and
     * {@link #createCollection()} could return a {@link java.util.TreeSet}, in which case the
     * multimap's iterators would propagate through the keys and values in sorted order.
     *
     * <p>Keys and values may be null, as long as the underlying collection classes support null
     * elements.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  9. 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)
  10. 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