Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 263 for Povirk (0.06 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      // The comparator used by this map.  It's the same as that of sortedDelegate,
      // except that when sortedDelegate's comparator is null, it points to a
      // non-null instance of Ordering.natural().
      // (cpovirk: Is sortedDelegate's comparator really ever null?)
      // The comparator will likely also differ because of our nullAccepting hack.
      // See the bottom of the file for more information about it.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

     *
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite // TODO(cpovirk): add to collect/gwt/suites
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(ImmutableMultisetTest.class);
    
        suite.addTest(
            MultisetTestSuiteBuilder.using(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Run collection tests on wrappers from {@link Multimaps}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    public class MultimapsCollectionTest extends TestCase {
    
      private static final Feature<?>[] FOR_MAP_FEATURES_ONE = {
        CollectionSize.ONE,
        ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

      }
    
      abstract static class SleepingStopwatch {
        /** Constructor for use by subclasses. */
        protected SleepingStopwatch() {}
    
        /*
         * We always hold the mutex when calling this. TODO(cpovirk): Is that important? Perhaps we need
         * to guarantee that each call to reserveEarliestAvailable, etc. sees a value >= the previous?
         * Also, is it OK that we don't hold the mutex when sleeping?
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          boolean isNullable(Invokable<?, ?> invokable) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(invokable)
                || containsNullable(invokable.getAnnotatedReturnType().getAnnotations());
            // TODO(cpovirk): Should we also check isNullableTypeVariable?
          }
    
          @Override
          boolean isNullable(Parameter param) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

       * row and column iteration ordering of the returned table.
       *
       * @throws NullPointerException if {@code table} has a null key
       */
      @SuppressWarnings("unchecked") // TODO(cpovirk): Make constructor accept wildcard types?
      public static <R, C, V> ArrayTable<R, C, V> create(Table<R, C, ? extends @Nullable V> table) {
        return (table instanceof ArrayTable)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        FROM_DECLARATION_AND_TYPE_USE_ANNOTATIONS {
          @Override
          boolean isNullable(Invokable<?, ?> invokable) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(invokable)
            ;
            // TODO(cpovirk): Should we also check isNullableTypeVariable?
          }
    
          @Override
          boolean isNullable(Parameter param) {
            return FROM_DECLARATION_ANNOTATIONS_ONLY.isNullable(param)
            ;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      /**
       * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances
       * that use {@code comparator} to determine the least and greatest elements.
       */
      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
       * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those also
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
        @SuppressWarnings("unchecked") // generics+arrays
        // TODO(cpovirk): Consider storing an Entry<?> instead of Entry<E>.
        Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]);
        Arrays.sort(entries, DecreasingCount.INSTANCE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multisets.java

       *
       * @since 11.0
       */
      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
        @SuppressWarnings("unchecked") // generics+arrays
        // TODO(cpovirk): Consider storing an Entry<?> instead of Entry<E>.
        Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]);
        Arrays.sort(entries, DecreasingCount.INSTANCE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top