Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isUpperBoundInclusive (0.23 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertFalse(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE);
            assertEquals("1.0", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND);
            assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE);
            assertNull(range.getRecommendedVersion(), CHECK_VERSION_RECOMMENDATION);
            assertFalse(range.isSelectedVersionKnown(artifact), CHECK_SELECTED_VERSION_KNOWN);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                                upper = res1.getUpperBound();
                                upperInclusive = res1.isUpperBoundInclusive();
                            } else if (comparison == 0) {
                                upper = res1.getUpperBound();
                                upperInclusive = res1.isUpperBoundInclusive() && res2.isUpperBoundInclusive();
                            } else {
                                upper = res2.getUpperBound();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

        }
    
        public boolean isLowerBoundInclusive() {
            return lowerBoundInclusive;
        }
    
        public ArtifactVersion getUpperBound() {
            return upperBound;
        }
    
        public boolean isUpperBoundInclusive() {
            return upperBoundInclusive;
        }
    
        public boolean containsVersion(ArtifactVersion version) {
            if (lowerBound != null) {
                int comparison = lowerBound.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)
Back to top