Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 314 for comparator (0.21 sec)

  1. guava/src/com/google/common/primitives/UnsignedLong.java

        BigInteger bigInt = BigInteger.valueOf(value & UNSIGNED_MASK);
        if (value < 0) {
          bigInt = bigInt.setBit(Long.SIZE - 1);
        }
        return bigInt;
      }
    
      @Override
      public int compareTo(UnsignedLong o) {
        checkNotNull(o);
        return UnsignedLongs.compare(value, o.value);
      }
    
      @Override
      public int hashCode() {
        return Longs.hashCode(value);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

      private static final BigInteger MIN_INT = BigInteger.valueOf(Integer.MIN_VALUE);
    
      private static int saturatedCast(BigInteger big) {
        if (big.compareTo(MAX_INT) > 0) {
          return Integer.MAX_VALUE;
        }
        if (big.compareTo(MIN_INT) < 0) {
          return Integer.MIN_VALUE;
        }
        return big.intValue();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                this.version = version;
                this.repository = repository;
            }
    
            boolean isOutdated(String timestamp) {
                return timestamp != null && timestamp.compareTo(this.timestamp) > 0;
            }
        }
    
        private static class Key {
    
            private final String groupId;
    
            private final String artifactId;
    
            private final String classifier;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                    String lastUpdated = versioning.getLastUpdated();
                    String now = versioningRef.getLastUpdated();
                    if (lastUpdated != null && now != null && now.compareTo(lastUpdated) < 0) {
                        getLogger()
                                .warn("The last updated timestamp in " + metadataFile + " refers to the future (now = "
                                        + now
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          }
    
          @Override
          public long getDelay(TimeUnit unit) {
            return scheduledDelegate.getDelay(unit);
          }
    
          @Override
          public int compareTo(Delayed other) {
            return scheduledDelegate.compareTo(other);
          }
        }
    
        @J2ktIncompatible
        @GwtIncompatible // TODO
        private static final class NeverSuccessfulListenableFutureTask
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            return vr.containsVersion(actualVersion);
        }
    
        @Test
        void testOrder0() {
            // assertTrue( new DefaultArtifactVersion( "1.0-alpha10" ).compareTo( new DefaultArtifactVersion( "1.0-alpha1" )
            // ) > 0 );
        }
    
        @Test
        void testCache() throws InvalidVersionSpecificationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        private final int value;
    
        ClassWithTerribleHashCode(int value) {
          this.value = value;
        }
    
        @Override
        public int compareTo(ClassWithTerribleHashCode that) {
          return Integer.compare(this.value, that.value);
        }
    
        @Override
        public boolean equals(@Nullable Object x) {
          return x instanceof ClassWithTerribleHashCode
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. docs/pt/docs/alternatives.md

    Verifique mais detalhes na seção [Deployment](deployment/index.md){.internal-link target=_blank}.
    
    ///
    
    ## Performance e velocidade
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top