Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 640 for compare (0.12 seconds)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

            Duration initial = MonotonicClock.elapsed();
            Thread.sleep(50); // Longer delay for more reliable measurement
            Duration later = MonotonicClock.elapsed();
    
            assertTrue(later.compareTo(initial) > 0, "Elapsed time should increase");
            assertTrue(
                    later.minus(initial).toMillis() >= 45,
                    "Elapsed time difference should be at least 45ms (accounting for some timing variance)");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

       */
      @CanIgnoreReturnValue
      @Override
      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractSetMultimap.java

       */
      @CanIgnoreReturnValue
      @Override
      public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
        return super.put(key, value);
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

         *   <li>Ensures no null repository entries exist in the list</li>
         * </ul>
         *
         * <p>Duplicate detection is based on the {@code RemoteRepository#equals(Object)}
         * method, which typically compares repository IDs and URLs.
         *
         * @param repositories the list of repositories to validate, may be {@code null}
         * @return the same list if validation passes, or {@code null} if input was {@code null}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/resources/inheritance-repo/t09/maven-test/poms/t09-a-1.0.pom

        </repository>
      </repositories>
    
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t09-b</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 551 bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/resources/inheritance-repo/t10/maven-test/poms/t10-a-1.0.pom

        </repository>
      </repositories>
    
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t10-b</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 551 bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/resources/local-repo/maven-test/poms/maven-test-a-1.0.pom

      </repositories>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>maven-test-b</artifactId>
          <version>1.0</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
      </dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 586 bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

            return groupByMajor.get(major).stream().filter(v -> v.getMinor() == minor).max(Version::compareTo).orElse(null);
        }
    
        private Version getLatestVersionByKey(Map<Integer, List<Version>> groupByMajor, int key) {
            return groupByMajor.getOrDefault(key, emptyList())
                .stream()
                .max(Version::compareTo)
                .orElseThrow(() -> new IllegalStateException("Unexpected number of versions in collection"));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MapDifference.java

      /**
       * Returns an unmodifiable map describing keys that appear in both maps, but with different
       * values.
       */
      Map<K, ValueDifference<V>> entriesDiffering();
    
      /**
       * Compares the specified object with this instance for equality. Returns {@code true} if the
       * given object is also a {@code MapDifference} and the values returned by the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ComparatorsTest.java

        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof Foo) && ((Foo) o).value.equals(value);
        }
    
        @Override
        public int compareTo(Foo other) {
          return value.compareTo(other.value);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top