Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 423 for compareOp (0.06 sec)

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

       * @since 4.0 (in Equivalences)
       */
      public static Equivalence<Object> equals() {
        return Equals.INSTANCE;
      }
    
      /**
       * Returns an equivalence that uses {@code ==} to compare values and {@link
       * System#identityHashCode(Object)} to compute the hash code. {@link Equivalence#equivalent}
       * returns {@code true} if {@code a == b}, including in the case that a and b are both null.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                if (fail1 == null) {
                    fail1 = 0;
                }
                if (fail2 == null) {
                    fail2 = 0;
                }
                return Integer.compare(fail1, fail2);
            });
    
            // Check for existing connections without global synchronization
            for (final Address addr : addrs) {
                final SmbTransportImpl found =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            // Different path -> not equal
            SmbResourceLocatorImpl l5 = locator("smb://server/share/other");
            assertNotEquals(l1, l5);
    
            // Force address resolution failure -> fallback to server name compare
            // Use a fresh context to avoid affecting previous tests
            CIFSContext ctx2 = mock(CIFSContext.class);
            Configuration config2 = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

         * <li>{@code repo,repo1}  (since 2.0.9)= {@code repo} or {@code repo1},</li>
         * <li>{@code *,!repo1} (since 2.0.9)= everything except {@code repo1}.</li>
         * </ul>
         *
         * @param originalRepository to compare for a match.
         * @param pattern used for match.
         * @return true if the repository is a match to this pattern.
         */
        static boolean matchPattern(ArtifactRepository originalRepository, String pattern) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 33.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        }
    
        /**
         * Configures this {@code Builder} to order entries by value according to the specified
         * comparator.
         *
         * <p>The sort order is stable, that is, if two entries have values that compare as equivalent,
         * the entry that was inserted first will be first in the built map's iteration order.
         *
         * @throws IllegalStateException if this method was already called
         * @since 19.0
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SecureKeyManager.java

                // Sort by version number
                archives.sort((a, b) -> {
                    int versionA = extractVersion(a);
                    int versionB = extractVersion(b);
                    return Integer.compare(versionB, versionA); // Descending order
                });
    
                // Keep only the specified number of versions
                for (int i = keepVersions; i < archives.size(); i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Predicates.java

          if (obj instanceof ContainsPatternPredicate) {
            ContainsPatternPredicate that = (ContainsPatternPredicate) obj;
    
            // Pattern uses Object (identity) equality, so we have to reach
            // inside to compare individual fields.
            return Objects.equals(pattern.pattern(), that.pattern.pattern())
                && pattern.flags() == that.pattern.flags();
          }
          return false;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

              // This means the service was started by some means other than ServiceManager.startAsync
              stopwatch = Stopwatch.createStarted();
              startupTimers.put(service, stopwatch);
            }
            if (to.compareTo(RUNNING) >= 0 && stopwatch.isRunning()) {
              // N.B. if we miss the STARTING event then we may never record a startup time.
              stopwatch.stop();
              if (!(service instanceof NoOpService)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

              // This means the service was started by some means other than ServiceManager.startAsync
              stopwatch = Stopwatch.createStarted();
              startupTimers.put(service, stopwatch);
            }
            if (to.compareTo(RUNNING) >= 0 && stopwatch.isRunning()) {
              // N.B. if we miss the STARTING event then we may never record a startup time.
              stopwatch.stop();
              if (!(service instanceof NoOpService)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        builder.put("bb", 3);
        builder.put("d", 2);
        builder.put("a", 5);
        builder.orderKeysBy(
            new Ordering<String>() {
              @Override
              public int compare(String left, String right) {
                return left.length() - right.length();
              }
            });
        builder.put("cc", 4);
        builder.put("a", 2);
        builder.put("bb", 6);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top