Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Comparison (0.07 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                return Stream.of(Arguments.of(null, "4.1.0"), Arguments.of("4.0.0", null), Arguments.of(null, null));
            }
        }
    
        @Nested
        @DisplayName("Version Comparison")
        class VersionComparisonTests {
    
            @Test
            @DisplayName("should compare versions correctly")
            void shouldCompareVersionsCorrectly() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

         */
        public static boolean isNewerThan410(String modelVersion) {
            if (modelVersion == null) {
                return false;
            }
    
            // Simple version comparison for now
            // This could be enhanced with proper version parsing if needed
            try {
                String[] parts = modelVersion.split("\\.");
                if (parts.length >= 2) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                // Update property value if it's below minimum version
                return upgradePropertyVersion(pomDocument, propertyName, upgrade, sectionName, context);
            } else {
                // Direct version comparison and upgrade
                if (isVersionBelow(currentVersion, upgrade.minVersion)) {
                    Editor editor = new Editor(pomDocument);
                    editor.setTextContent(versionElement, upgrade.minVersion);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        public boolean isDeleted() {
            return isUpdated() && newInputs.length == 0;
        }
    
        /**
         * Sorts both the current inputs and new inputs arrays in place.
         * This ensures consistent ordering for comparison and equality operations.
         */
        public void sort() {
            if (inputs != null) {
                Arrays.sort(inputs);
            }
            if (newInputs != null) {
                Arrays.sort(newInputs);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
     * Likewise, if {@link #weakValues} or {@link #softValues} was specified, the cache uses identity
     * comparisons for values.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                            sitemapUrl.addAlternateLink(alternateLink);
                        }
                    }
                }
            }
    
            /**
             * Gets the element name to use for comparison.
             * Prefers qName (which includes namespace prefix) but falls back to localName if qName is empty.
             * @param localName the local name without namespace prefix
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Floats.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}, using the same rules of comparison as {@link
       * Math#min(float, float)}.
       *
       * @param array a <i>nonempty</i> array of {@code float} values
       * @return the value present in {@code array} that is less than or equal to every other value in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
     * Likewise, if {@link #weakValues} or {@link #softValues} was specified, the cache uses identity
     * comparisons for values.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the least value present in {@code array}, using the same rules of comparison as {@link
       * Math#min(double, double)}.
       *
       * @param array a <i>nonempty</i> array of {@code double} values
       * @return the value present in {@code array} that is less than or equal to every other value in
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

       * left.equals(right)} instead of this method.
       *
       * @param left the map to treat as the "left" map for purposes of comparison
       * @param right the map to treat as the "right" map for purposes of comparison
       * @return the difference between the two maps
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top