Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for Equivalent (0.29 sec)

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

       *   <li>If {@code equivalent(x, y)} and {@code equivalent(y, z)} are both true, then {@code
       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
       */
      public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) {
        if (a == b) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Equivalence.java

       *   <li>If {@code equivalent(x, y)} and {@code equivalent(y, z)} are both true, then {@code
       *       equivalent(x, z)} is also true (<i>transitive</i> property)
       * </ul>
       *
       * <p>Note that all calls to {@code equivalent(x, y)} are expected to return the same result as
       * long as neither {@code x} nor {@code y} is modified.
       */
      public final boolean equivalent(@CheckForNull T a, @CheckForNull T b) {
        if (a == b) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code Stream.empty()}.
       *
       * @since 20.0
       */
      public static <E extends @Nullable Object> FluentIterable<E> of() {
        return FluentIterable.from(Collections.<E>emptyList());
      }
    
      /**
       * Returns a fluent iterable containing the specified elements in order.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#of(Object[])
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#empty}.
       *
       * @since 20.0
       */
      public static <E extends @Nullable Object> FluentIterable<E> of() {
        return FluentIterable.from(Collections.<E>emptyList());
      }
    
      /**
       * Returns a fluent iterable containing the specified elements in order.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#of(Object[])
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterables.java

      /**
       * Determines if the given iterable contains no elements.
       *
       * <p>There is no precise {@link Iterator} equivalent to this method, since one can only ask an
       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
       * @return {@code true} if the iterable contains no elements
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

      /**
       * Determines if the given iterable contains no elements.
       *
       * <p>There is no precise {@link Iterator} equivalent to this method, since one can only ask an
       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
       * @return {@code true} if the iterable contains no elements
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is equivalent to Java 8's
       * {@code Optional.ofNullable}.
       */
      public static <T> Optional<T> fromNullable(@CheckForNull T nullableReference) {
        return (nullableReference == null) ? Optional.<T>absent() : new Present<T>(nullableReference);
      }
    
      /**
       * Returns the equivalent {@code com.google.common.base.Optional} value to the given {@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)
  8. android/guava/src/com/google/common/hash/HashFunction.java

       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 12.0
       */
      HashCode hashInt(int input);
    
      /**
       * Shortcut for {@code newHasher().putLong(input).hash()}; returns the hash code for the given
       * {@code long} value, interpreted in little-endian byte order. The implementation <i>might</i>
       * perform better than its longhand equivalent, but should not perform worse.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RangeSet.java

       */
      @CheckForNull
      Range<C> rangeContaining(C value);
    
      /**
       * Returns {@code true} if there exists a non-empty range enclosed by both a member range in this
       * range set and the specified range. This is equivalent to calling {@code
       * subRangeSet(otherRange)} and testing whether the resulting range set is non-empty.
       *
       * @since 20.0
       */
      boolean intersects(Range<C> otherRange);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

       * that of {@code ((Character) a).compareTo(b)}.
       *
       * <p><b>Java 7+ users:</b> this method should be treated as deprecated; use the equivalent {@link
       * Character#compare} method instead.
       *
       * @param a the first {@code char} to compare
       * @param b the second {@code char} to compare
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top