Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,525 for Equals (0.07 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        BiPredicate<ImmutableSortedMultiset<String>, ImmutableSortedMultiset<String>> equivalence =
            (ms1, ms2) ->
                ms1.equals(ms2)
                    && ms1.entrySet().asList().equals(ms2.entrySet().asList())
                    && ms1.comparator().equals(ms2.comparator());
        CollectorTester.of(
                ImmutableSortedMultiset.<String>toImmutableSortedMultiset(
                    String.CASE_INSENSITIVE_ORDER),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/PathValidator.java

            }
    
            // Check for standalone double dots that could be dangerous
            String[] parts = path.split("[\\\\/]");
            for (String part : parts) {
                if (".".equals(part) || "..".equals(part)) {
                    return true;
                }
            }
    
            return false;
        }
    
        /**
         * Normalize a path
         */
        private String normalizePath(String path) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

            assertObjectNotNull("ck", ck);
            if (ck.equals(ConditionKey.CK_GREATER_THAN)) {
                builder.gt(value);
            } else if (ck.equals(ConditionKey.CK_GREATER_EQUAL)) {
                builder.gte(value);
            } else if (ck.equals(ConditionKey.CK_LESS_THAN)) {
                builder.lt(value);
            } else if (ck.equals(ConditionKey.CK_LESS_EQUAL)) {
                builder.lte(value);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                return sb.toString();
            }
    
            @Override
            public boolean equals(final Object other) {
                if (other == null || !(other instanceof MyToken)) {
                    return false;
                }
                final MyToken o = (MyToken) other;
                if (!word.equals(o.word)) {
                    return false;
                }
                if (startOffset != o.startOffset) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        @ParametricNullness
        public K getElement() {
          return key;
        }
    
        void updateLastKnownIndex() {
          if (lastKnownIndex == -1
              || lastKnownIndex >= size()
              || !Objects.equals(key, keys[lastKnownIndex])) {
            lastKnownIndex = indexOf(key);
          }
        }
    
        @Override
        public int getCount() {
          updateLastKnownIndex();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            return lineNumber == that.lineNumber
                    && columnNumber == that.columnNumber
                    && java.util.Objects.equals(source, that.source)
                    && java.util.Objects.equals(locations, that.locations)
                    && java.util.Objects.equals(importedFrom, that.importedFrom);
        }
    
        @Override
        public int hashCode() {
            int result = hashCode;
            if (result == 0) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

            Path parent = pomPath.getParent();
            while (parent != null && parent.getFileName() != null) {
                String dirName = parent.getFileName().toString();
                if (dirName.equals("src") || dirName.equals("target")) {
                    return true;
                }
                parent = parent.getParent();
            }
            return false;
        }
    
        public void analyzePom(Model model) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                String anchor = (link != null) ? link.attr("id") : "";
                if(!name.startsWith("Table") && tag.equals("h2")){
                    toc.append("<li class=\"mainTopic\"><a/></li>").children().last().select("a").first().text(name).attr("href", "#" + anchor);
                } else if(!name.startsWith("Table") && tag.equals("h3")){
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/eventbus/Subscriber.java

      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
          return target == that.target && method.equals(that.method);
        }
        return false;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.java

            }
    
            try {
                final int pos = path.indexOf('/', 6);
                final URI uri = new URI(pos == -1 ? path : path.substring(0, pos));
                if (!"ftp".equals(uri.getScheme()) || (StringUtil.isNotBlank(server) && !server.equals(uri.getHost()))) {
                    return false;
                }
                int p = uri.getPort();
                if (p == -1) {
                    p = 21;
                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top