Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Dreesen (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

              }
            };
        assertFailure(tester);
      }
    
      /**
       * This Iterator wraps another iterator and gives it a bug found in JDK6.
       *
       * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator
       * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls
       * to remove() will incorrectly throw an IllegalStateException, instead of removing the last
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. 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)
  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. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Random;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    
    /**
     * Helper classes for various benchmarks.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Random;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.ConcurrentSkipListMap;
    
    /**
     * Helper classes for various benchmarks.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top