- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for comparison (0.08 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* * <p><b>Comparison to {@code java.util.Optional}:</b> no differences. */ public abstract boolean isPresent(); /** * Returns the contained instance, which must be present. If the instance might be absent, use * {@link #or(Object)} or {@link #orNull} instead. * * <p><b>Comparison to {@code java.util.Optional}:</b> when the value is absent, this method
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
compat/maven-artifact/src/site/apt/index.apt
Display parameters as parsed by Maven (in canonical form) and comparison result: 1. 3.2.4-alpha-1 == 3.2.4.alpha.1 3.2.4-alpha-1 < 3.2.4-SNAPSHOT 2. 3.2.4-SNAPSHOT == 3.2.4.snapshot 3.2.4-SNAPSHOT < 3.2.4.0 3. 3.2.4.0 == 3.2.4 +----+ * Useful entry points * artifact version comparison {{{./apidocs/org/apache/maven/artifact/versioning/ComparableVersion.html}javadoc}},
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
} else { int comparison = res1.getLowerBound().compareTo(res2.getLowerBound()); if (comparison < 0) { lower = res2.getLowerBound(); lowerInclusive = res2.isLowerBoundInclusive(); } else if (comparison == 0) { lower = res1.getLowerBound();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
import java.util.Deque; import java.util.Iterator; import java.util.List; import java.util.Locale; import java.util.Objects; import java.util.Properties; /** * <p> * Generic implementation of version comparison. * </p> * <p> * Features: * <ul> * <li>mixing of '<code>-</code>' (hyphen) and '<code>.</code>' (dot) separators,</li> * <li>transition between characters and digits also constitutes a separator:
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 26K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java
* */ @Deprecated public class MetadataGraphVertex implements Comparable<MetadataGraphVertex> { ArtifactMetadata md; // indications to use these in comparison private boolean compareVersion = false; private boolean compareScope = false; public MetadataGraphVertex(ArtifactMetadata md) { super(); this.md = md; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
result = -1; } } if (result == 0) { // We don't consider the version range in the comparison, just the resolved version result = new DefaultArtifactVersion(version) .compareTo(new DefaultArtifactVersion(a.getVersion())); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.6K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
* Works on known set that failed before fix, provided by {@link #uuidVersionStringStream()}. */ @Test void testCompareUuidVersionStringStream() { // this operation below fails with IAEx if comparison is unstable uuidVersionStringStream().map(this::newVersion).sorted().collect(toList()); } private Stream<String> uuidVersionStringStream() { return Stream.of(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
boolean olderThanAll = true; for (String validValue : validVersions) { final int comparison = compareModelVersions(validValue, string); newerThanAll = newerThanAll && comparison < 0; olderThanAll = olderThanAll && comparison > 0; } if (newerThanAll) { addViolation( problems,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
* offering expected O(n + k log k) performance (worst case O(n log k)) for n calls to {@link * #offer} and a call to {@link #topK}, with O(k) memory. In comparison, quickselect has the same * asymptotics but requires O(n) memory, and a {@code PriorityQueue} implementation takes O(n log * k). In benchmarks, this implementation performs at least as well as either implementation, and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.1K bytes - Viewed (0)