Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for defer (0.17 sec)

  1. android/guava/src/com/google/common/graph/AbstractNetwork.java

          public Set<N> nodes() {
            return AbstractNetwork.this.nodes();
          }
    
          @Override
          public Set<EndpointPair<N>> edges() {
            if (allowsParallelEdges()) {
              return super.edges(); // Defer to AbstractGraph implementation.
            }
    
            // Optimized implementation assumes no parallel edges (1:1 edge to EndpointPair mapping).
            return new AbstractSet<EndpointPair<N>>() {
              @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ForwardingGraph.java

    @ElementTypesAreNonnullByDefault
    abstract class ForwardingGraph<N> extends AbstractGraph<N> {
    
      abstract BaseGraph<N> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
       * Defer to {@link AbstractGraph#edges()} (based on {@link #successors(Object)}) for full edges()
       * implementation.
       */
      @Override
      protected long edgeCount() {
        return delegate().edges().size();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ForwardingValueGraph.java

    abstract class ForwardingValueGraph<N, V> extends AbstractValueGraph<N, V> {
    
      abstract ValueGraph<N, V> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      /**
       * Defer to {@link AbstractValueGraph#edges()} (based on {@link #successors(Object)}) for full
       * edges() implementation.
       */
      @Override
      protected long edgeCount() {
        return delegate().edges().size();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * <p>This method should be overridden when bulk retrieval is significantly more efficient than
       * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls
       * to {@link LoadingCache#get} if this method is not overridden.
       *
       * @param keys the unique, non-null keys whose values should be loaded
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheLoader.java

       *
       * <p>This method should be overridden when bulk retrieval is significantly more efficient than
       * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls
       * to {@link LoadingCache#get} if this method is not overridden.
       *
       * @param keys the unique, non-null keys whose values should be loaded
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CommonMatcher.java

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * The subset of the {@link java.util.regex.Matcher} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Matcher}
     * javadoc for details.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class CommonMatcher {
      public abstract boolean matches();
    
      public abstract boolean find();
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

     *
     * <p>For {@code ImmutableMultiset} in particular, I ran into a problem with the {@code
     * GwtSerializationDependencies} approach: When autogenerating a serializer for the new class, GWT
     * tries to refer to our dummy serializer for the superclass,
     * ImmutableMultiset_CustomFieldSerializer. But that type has no methods (since it's never actually
     * used). We could probably fix the problem by adding dummy methods to that class, but that is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        elementsPlus.add(AFTER_LAST_2);
        return Ordering.explicit(Lists.newArrayList(elementsPlus));
      }
    
      /*
       * All the ContiguousSet generators below manually reject nulls here. In principle, we'd like to
       * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However,
       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
    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)
  9. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
       * TODO(user): FutureChecker interface for these to be static methods on? If so, refer to it in
       * the (static-method) Futures.getChecked documentation
       */
    
      private static boolean hasConstructorUsableByGetChecked(
          Class<? extends Exception> exceptionClass) {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        if (isAndroid()) {
          /*
           * NPT fails under the old versions of Android we test under because it performs reflection on
           * ImmutableTable, which declares static methods that refer to Collector, which is unavailable
           * under such versions.
           *
           * We use a runtime check here instead of @AndroidIncompatible: @AndroidIncompatible operates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
Back to top