Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,248 for equals (0.04 sec)

  1. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

        private static class CustomQuery extends Query {
            @Override
            public String toString(String field) {
                return "CustomQuery";
            }
    
            @Override
            public boolean equals(Object obj) {
                return obj != null && getClass() == obj.getClass();
            }
    
            @Override
            public int hashCode() {
                return getClass().hashCode();
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessClient.java

            String serverAddress = registration.getServerAddress() != null ? registration.getServerAddress().getHostAddress() : null;
            boolean addressMatch = java.util.Objects.equals(resourceName, serverAddress);
    
            return shareMatch || addressMatch;
        }
    
        /**
         * Checks for expired registrations based on heartbeat timeouts.
         */
        private void checkHeartbeats() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * with {@link Collection} itself). Prefer subtypes such as {@link ImmutableSet} or {@link
     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
     * <h3>About <i>all</i> {@code Immutable-} collections</h3>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/Stats.java

       * {@code strictfp}-like semantics.)
       */
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
        Stats other = (Stats) obj;
        return count == other.count
            && doubleToLongBits(mean) == doubleToLongBits(other.mean)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     *
     * <p>Each of the {@code standard} methods uses the set's comparator (or the natural ordering of the
     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Config.java

         */
        public static boolean getBoolean(final Properties props, final String key, boolean def) {
            final String b = props.getProperty(key);
            if (b != null) {
                def = b.toLowerCase().equals("true");
            }
            return def;
        }
    
        /**
         * Retrieve an array of <code>InetAddress</code> created from a property
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                d.setGroupId(groupId);
                d.setArtifactId(artifactId);
                d.setVersion(version);
                d.setScope(scope);
    
                if (systemPath != null && scope.equals(Artifact.SCOPE_SYSTEM)) {
                    d.setSystemPath(systemPath);
                }
    
                if (exclusion != null) {
                    d.addExclusion(exclusion);
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(com.google.common.base.Optional.class, com.google.common.base.Optional.absent())
              .put(Predicate.class, Predicates.alwaysTrue())
              .put(Equivalence.class, Equivalence.equals())
              .put(Ticker.class, Ticker.systemTicker())
              .put(Stopwatch.class, Stopwatch.createUnstarted())
              // io types
              .put(InputStream.class, new ByteArrayInputStream(new byte[0]))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                boolQuery.should(query);
            }
            return boolQuery;
        }
    
        private QueryBuilder simpleQuery(String query, float titleBoost, float contentBoost) {
            if ("dismax".equals(ComponentUtil.getFessConfig().getQueryDefaultQueryType())) {
                return QueryBuilders.disMaxQuery()
                        .tieBreaker(0.1f)//
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
Back to top