Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for evaluator (0.32 sec)

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

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
       * false}.
       */
      public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
    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)
  2. 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)
  3. android/guava-tests/test/com/google/common/base/PredicatesTest.java

          new Predicate<@Nullable Integer>() {
            @Override
            public boolean apply(@Nullable Integer i) {
              throw new AssertionFailedError("This predicate should never have been evaluated");
            }
          };
    
      /** Instantiable predicate with reasonable hashCode() and equals() methods. */
      static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

                unfiltered,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    throw new AssertionFailedError("Should never be evaluated");
                  }
                });
    
        List<String> expected = Collections.emptyList();
        List<String> actual = Lists.newArrayList(filtered);
        assertEquals(expected, actual);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
      // TODO(kevinb): evaluate whether or not of().comparator() should return null
      public static <K, V> ImmutableSortedMap<K, V> of() {
        return (ImmutableSortedMap<K, V>) NATURAL_EMPTY_MAP;
      }
    
    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)
  6. guava/src/com/google/common/base/Optional.java

      /**
       * Returns the value of each present instance from the supplied {@code optionals}, in order,
       * skipping over occurrences of {@link Optional#absent}. Iterators are unmodifiable and are
       * evaluated lazily.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
       * {@code Optional} class; use {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      // unsafe, comparator() returns a comparator on the specified type
      // TODO(kevinb): evaluate whether or not of().comparator() should return null
      public static <K, V> ImmutableSortedMap<K, V> of() {
        return (ImmutableSortedMap<K, V>) NATURAL_EMPTY_MAP;
      }
    
    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)
  9. android/guava/src/com/google/common/net/InetAddresses.java

       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
       * @param ipString {@code String} to evaluated as an IP URI host string literal
       * @return {@code true} if the argument is a valid IP URI host
       */
      public static boolean isUriInetAddress(String ipString) {
        return forUriStringNoThrow(ipString) != null;
      }
    
      /**
       * Evaluates whether the argument is an IPv6 "compat" address.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/graph/ValueGraph.java

       * IllegalStateException} if it is accessed in any way, with the following exceptions:
       *
       * <ul>
       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other `equals()` expression
       *       involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top