Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 348 for comparison (0.13 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            if (lowerBound != null) {
                int comparison = lowerBound.compareTo(version);
    
                if ((comparison == 0) && !lowerBoundInclusive) {
                    return false;
                }
                if (comparison > 0) {
                    return false;
                }
            }
            if (upperBound != null) {
                int comparison = upperBound.compareTo(version);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.junit.Test
    
    
    /**
     * Asserts Kotlin `internal` members are filtered from the comparison.
     */
    class KotlinInternalFilteringTest : AbstractBinaryCompatibilityTest() {
    
        private
        val internalMembers = """
    
            internal fun foo() {}
    
            internal val bar = "bar"
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jun 27 13:51:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm.go

    	"BLE":  true,
    	"CALL": true,
    	"JMP":  true,
    }
    
    func jumpArm(word string) bool {
    	return armJump[word]
    }
    
    // IsARMCMP reports whether the op (as defined by an arm.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARMCMP(op obj.As) bool {
    	switch op {
    	case arm.ACMN, arm.ACMP, arm.ATEQ, arm.ATST:
    		return true
    	}
    	return false
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
     * follows:
     *
     * <ul>
     *   <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the
     *       <i>j</i><sup>th</sup> item in the <i>i</i><sup>th</sup> equality group, where both equality
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. 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)
Back to top