Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. guava-tests/test/com/google/common/math/IntMathTest.java

        tester.setDefault(int.class, 1);
        tester.testAllPublicStaticMethods(IntMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  7. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CommonPattern.java

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

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * The subset of the {@link java.util.regex.Pattern} API which is used by this package, and also
     * shared with the {@code re2j} library. For internal use only. Please refer to the {@code Pattern}
     * javadoc for details.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class CommonPattern {
      public abstract CommonMatcher matcher(CharSequence t);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:52:54 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Cache.java

       * call. To prevent this problem, create a key object that includes all values that affect the
       * result of the query. Or use {@code LoadingCache.get(K)}, which lacks the ability to refer to
       * state other than that in the key.
       *
       * <p><b>Warning:</b> as with {@link CacheLoader#load}, {@code loader} <b>must not</b> return
       * {@code null}; it may either return a non-null value or throw an exception.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (1)
Back to top