Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for equivalents (0.11 sec)

  1. guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CommonObjectUtilitiesExplained#comparecompareto">{@code
     * ComparisonChain}</a>.
     *
     * <h4 id="java8">Java 8+ equivalents</h4>
     *
     * If you are using Java version 8 or greater, you should generally use the static methods in {@link
     * Comparator} instead of {@code ComparisonChain}. The example above can be implemented like this:
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

            }
            return value;
        }
    
        /**
         * Escapes special characters in a query string if escaping is enabled.
         * Replaces reserved characters with their escaped equivalents based on the Constants.RESERVED array.
         *
         * @param value the query string to escape
         * @return the escaped query string, or the original value if escaping is disabled
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

     *
     * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never
     * cause DNS services to be accessed. For this reason, you should prefer these methods as much as
     * possible over their JDK equivalents whenever you are expecting to handle only IP address string
     * literals -- there is no blocking DNS penalty for a malformed string.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Equivalence.java

        return new EquivalentToPredicate<>(this, target);
      }
    
      private static final class EquivalentToPredicate<T>
          implements Predicate<@Nullable T>, Serializable {
    
        private final Equivalence<T> equivalence;
        private final @Nullable T target;
    
        EquivalentToPredicate(Equivalence<T> equivalence, @Nullable T target) {
          this.equivalence = checkNotNull(equivalence);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

     *
     * <p><b>Important note:</b> Unlike {@code InetAddress.getByName()}, the methods of this class never
     * cause DNS services to be accessed. For this reason, you should prefer these methods as much as
     * possible over their JDK equivalents whenever you are expecting to handle only IP address string
     * literals -- there is no blocking DNS penalty for a malformed string.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

           * since the Equivalence base type now implements this logic itself
           */
          assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
          assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
          assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item));
          assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(equalTo1, Equivalence.equals().equivalentTo("1"))
            .addEqualityGroup(isNull)
            .addEqualityGroup(Equivalence.identity().equivalentTo("1"))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/EquivalenceTest.java

        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(equalTo1, Equivalence.equals().equivalentTo("1"))
            .addEqualityGroup(isNull)
            .addEqualityGroup(Equivalence.identity().equivalentTo("1"))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/Network.java

     * additional documentation, including:
     *
     * <ul>
     *   <li><a
     *       href="https://github.com/google/guava/wiki/GraphsExplained#equals-hashcode-and-graph-equivalence">
     *       {@code equals()}, {@code hashCode()}, and graph equivalence</a>
     *   <li><a href="https://github.com/google/guava/wiki/GraphsExplained#synchronization">
     *       Synchronization policy</a>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RangeSet.java

       */
      @Nullable 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);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top