Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for Method (8.34 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Preconditions.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static convenience methods that help a method or constructor check whether it was invoked
     * correctly (that is, whether its <i>preconditions</i> were met).
     *
     * <p>If the precondition is not met, the {@code Preconditions} method throws an unchecked exception
     * of a specified type, which helps the method in which the exception was thrown communicate that
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterators.java

       * consistent. For example, this method <i>might</i> choose to pass through recognized
       * implementations of {@code PeekingIterator} when the behavior of the implementation is known to
       * meet the contract guaranteed by this method.
       *
       * <p>There is no {@link Iterable} equivalent to this method, so use this method to wrap each
       * individual iterator as it is generated.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

       * consistent. For example, this method <i>might</i> choose to pass through recognized
       * implementations of {@code PeekingIterator} when the behavior of the implementation is known to
       * meet the contract guaranteed by this method.
       *
       * <p>There is no {@link Iterable} equivalent to this method, so use this method to wrap each
       * individual iterator as it is generated.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	return signature, nil
    }
    
    // Returns new HTTP request object.
    func newTestStreamingRequest(method, urlStr string, dataLength, chunkSize int64, body io.ReadSeeker) (*http.Request, error) {
    	if method == "" {
    		method = http.MethodPost
    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on a map with keys that are not mutually
       * comparable.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * <p>This method is not type-safe, as it may be called on a map with keys that are not mutually
       * comparable.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          for (Method method : RawTypeConsistencyTester.class.getDeclaredMethods()) {
            assertEquals(
                method.getReturnType(), TypeToken.of(method.getGenericReturnType()).getRawType());
            for (int i = 0; i < method.getParameterTypes().length; i++) {
              assertEquals(
                  method.getParameterTypes()[i],
                  TypeToken.of(method.getGenericParameterTypes()[i]).getRawType());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          }
        }
        return rValue;
      }
    
      /**
       * Subclasses can override this method to implement interruption of the future's computation. The
       * method is invoked automatically by a successful call to {@link #cancel(boolean) cancel(true)}.
       *
       * <p>The default implementation does nothing.
       *
       * <p>This method is likely to be deprecated. Prefer to override {@link #afterDone}, consulting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

      /*
       * We avoid using a method reference or lambda here for now:
       *
       * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom
       *   ClassLoader that is sometimes used as a system classloader. That's a problem because
       *   method-reference linking tries to look up the system classloader, and it fails because there
       *   isn't one yet.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top