Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Evaluation (0.26 sec)

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

        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a false predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Predicates.java

        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a false predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/HashCode.java

          return bytes;
        }
    
        @Override
        boolean equalsSameBits(HashCode that) {
          // We don't use MessageDigest.isEqual() here because its contract does not guarantee
          // constant-time evaluation (no short-circuiting).
          if (this.bytes.length != that.getBytesInternal().length) {
            return false;
          }
    
          boolean areEqual = true;
          for (int i = 0; i < this.bytes.length; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Monitor.java

     * is less error-prone and more readable than code using {@code ReentrantLock}, without significant
     * performance loss. {@code Monitor} even has the potential for performance gain by optimizing the
     * evaluation and signaling of conditions. Signaling is entirely <a
     * href="http://en.wikipedia.org/wiki/Monitor_(synchronization)#Implicit_signaling">implicit</a>. By
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
       * instead.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

       * operations like {@link Multimap#containsValue} and {@code Multimap.toString()}. For this to
       * perform well, {@code function} should be fast. To avoid lazy evaluation when the returned
       * multimap doesn't need to be a view, copy the returned multimap into a new multimap of your
       * choosing.
       *
       * @since 7.0
       */
      public static <
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Striped.java

        @Override
        Condition delegate() {
          return delegate;
        }
      }
    
      private abstract static class PowerOfTwoStriped<L> extends Striped<L> {
        /** Capacity (power of two) minus one, for fast mod evaluation */
        final int mask;
    
        PowerOfTwoStriped(int stripes) {
          Preconditions.checkArgument(stripes > 0, "Stripes must be positive");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/base/MoreObjects.java

       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
       * instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Lists.java

       * to be a view, but it means that the function will be applied many times for bulk operations
       * like {@link List#contains} and {@link List#hashCode}. For this to perform well, {@code
       * function} should be fast. To avoid lazy evaluation when the returned list doesn't need to be a
       * view, copy the returned list into a new list of your choosing.
       *
       * <p>If {@code fromList} implements {@link RandomAccess}, so will the returned list. The returned
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

       * transformation function.
       *
       * <p>The primary audience of this method is callers of {@code transform} who don't have a {@code
       * ListenableFuture} available and do not mind repeated, lazy function evaluation.
       *
       * @param input The future to transform
       * @param function A Function to transform the results of the provided future to the results of
       *     the returned future.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top