Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for comparing (0.96 sec)

  1. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </pre>
     *
     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                }
            }
            return OptionalEntity.empty();
        }
    
        /**
         * Stores or updates a dictionary file in the ConfigSync storage.
         * This method checks for concurrent modifications by comparing timestamps
         * and uploads the file content to the ConfigSync API.
         *
         * @param dictFile the dictionary file metadata to store
         * @param file the actual file containing the dictionary content
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java

            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code ObjectCountLinkedHashMap} is a subclass of {@code ObjectCountHashMap} with insertion
     * iteration order, and uses arrays to store key objects and count values. Comparing to using a
     * traditional {@code LinkedHashMap} implementation which stores keys and count values as map
     * entries, {@code ObjectCountLinkedHashMap} minimizes object allocation and reduces memory
     * footprint.
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                for (final File file : jarFiles) {
                    list.add(getArtifactFromFileName(artifactType, file.getName()));
                }
                list.sort(Comparator.comparing(Artifact::getName));
                return list.toArray(new Artifact[list.size()]);
            }
    
            final File[] jarFiles = ResourceUtil.getPluginJarFiles(artifactType.getId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

            @Override
            public int compare(String o1, String o2) {
              return o1.length() - o2.length();
            }
          };
    
      /** Test a TreeMultiset with a comparator that can return 0 when comparing unequal values. */
      public void testDegenerateComparator() throws Exception {
        TreeMultiset<String> ms = TreeMultiset.create(DEGENERATE_COMPARATOR);
    
        ms.add("foo");
        ms.add("a");
        ms.add("bar");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            valueMap.put("action", action.replace('\t', '_').toUpperCase(Locale.ENGLISH));
            valueMap.put("user", user.map(FessUserBean::getUserId).orElse("-"));
            final Comparator<Map.Entry<String, String>> c = Comparator.comparing(Map.Entry::getKey);
            params.entrySet().stream().sorted(c).forEach(e -> {
                valueMap.put(e.getKey(), e.getValue().replace('\t', '_'));
            });
            log(valueMap);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMaker.java

       * values, and no automatic eviction of any kind.
       */
      public MapMaker() {}
    
      /**
       * Sets a custom {@code Equivalence} strategy for comparing keys.
       *
       * <p>By default, the map uses {@link Equivalence#identity} to determine key equality when {@link
       * #weakKeys} is specified, and {@link Equivalence#equals()} otherwise. The only place this is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

      @CanIgnoreReturnValue
      CacheBuilder<K, V> lenientParsing() {
        strictParsing = false;
        return this;
      }
    
      /**
       * Sets a custom {@code Equivalence} strategy for comparing keys.
       *
       * <p>By default, the cache uses {@link Equivalence#identity} to determine key equality when
       * {@link #weakKeys} is specified, and {@link Equivalence#equals()} otherwise.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top