Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for something (0.16 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          <B extends A> void verifyTwoStageResolution() {
            @SuppressWarnings({"unchecked", "rawtypes"})
            Type type =
                new TypeToken<B>(getClass()) {}
                // B's bound may have already resolved to something.
                // Make sure it can still further resolve when given a context.
                .where(new TypeParameter<B>() {}, (Class) Integer.class).getType();
            assertEquals(Integer.class, type);
          }
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>> getInnerGenerator() {
          return mapGenerator;
        }
      }
    
      // TODO(cpovirk): could something like this be used elsewhere, e.g., ReserializedListGenerator?
      static class ForwardingTestMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
          implements TestMapGenerator<K, V> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

          /**
           * The service that is managing this callable. This is used so that failure can be reported
           * properly.
           */
          /*
           * This reference is part of a reference cycle, which is typically something we want to avoid
           * under j2objc -- but it is not detected by our j2objc cycle test. The cycle:
           *
           * - CustomScheduler.service contains an instance of ServiceDelegate. (It needs it so that it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            if (submittingTaskQueue.thread == submitting) {
              sequencer = null;
              // Submit from inside a reentrant submit. We don't know if this one will be reentrant (and
              // can't know without submitting something to the executor) so queue to run iteratively.
              // Task must be null, since each execution on this executor can only produce one more
              // execution.
              checkState(submittingTaskQueue.nextTask == null);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            return value;
          }
        };
      }
    
      /*
       * TODO(kevinb): should we copy this javadoc to each concrete class, so that
       * classes like LinkedHashMultimap that need to say something different are
       * still able to {@inheritDoc} all the way from Multimap?
       */
    
      @Override
      Multiset<K> createKeys() {
        return new Multimaps.Keys<K, V>(this);
      }
    
      /**
    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/src/com/google/common/collect/ImmutableMap.java

         *   ...))`
         *
         * So it makes sense for the parameter (and thus the return type) to be @CheckForNull.
         *
         * Two other points:
         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableCollection.java

    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    public abstract class ImmutableCollection<E> extends AbstractCollection<E> implements Serializable {
      /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/collect/OrderingTest.java

          }
        },
        ;
    
        abstract <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario);
      }
    
      /**
       * A dummy object we create so that we can have something meaningful to have a compound ordering
       * over.
       */
      private static class Composite<T extends @Nullable Object> implements Comparable<Composite<T>> {
        final T value;
        final int rank;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *       {@link Futures#addCallback} throws an exception, that exception will be typically be
       *       logged by the {@link ListenableFuture} implementation, even if the thread is configured
       *       to do something different. In other cases, no code will catch the exception, and it may
       *       terminate whichever thread happens to trigger the execution.
       * </ul>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/OrderingTest.java

          }
        },
        ;
    
        abstract <T extends @Nullable Object> Scenario<?> mutate(Scenario<T> scenario);
      }
    
      /**
       * A dummy object we create so that we can have something meaningful to have a compound ordering
       * over.
       */
      private static class Composite<T extends @Nullable Object> implements Comparable<Composite<T>> {
        final T value;
        final int rank;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top