Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getLowerBound (0.36 sec)

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

            restriction = restrictions.get(0);
            assertEquals("1.1", restriction.getLowerBound().toString(), CHECK_LOWER_BOUND);
            assertTrue(restriction.isLowerBoundInclusive(), CHECK_LOWER_BOUND_INCLUSIVE);
            assertEquals("1.1", restriction.getLowerBound().toString(), CHECK_UPPER_BOUND);
            assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE);
    
    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

            while (!done) {
                if (res1.getLowerBound() == null
                        || res2.getUpperBound() == null
                        || res1.getLowerBound().compareTo(res2.getUpperBound()) <= 0) {
                    if (res1.getUpperBound() == null
                            || res2.getLowerBound() == null
                            || res1.getUpperBound().compareTo(res2.getLowerBound()) >= 0) {
                        ArtifactVersion lower;
    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 String toString() {
            StringBuilder buf = new StringBuilder();
    
            buf.append(isLowerBoundInclusive() ? '[' : '(');
            if (getLowerBound() != null) {
                buf.append(getLowerBound().toString());
            }
            buf.append(',');
            if (getUpperBound() != null) {
                buf.append(getUpperBound().toString());
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        public boolean contains(K value) {
          return range.contains(value);
        }
    
        Cut<K> getLowerBound() {
          return range.lowerBound;
        }
    
        Cut<K> getUpperBound() {
          return range.upperBound;
        }
      }
    
      @Override
      @CheckForNull
      public V get(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeMap.java

        }
    
        @Override
        public V getValue() {
          return value;
        }
    
        public boolean contains(K value) {
          return range.contains(value);
        }
    
        Cut<K> getLowerBound() {
          return range.lowerBound;
        }
    
        Cut<K> getUpperBound() {
          return range.upperBound;
        }
      }
    
      @Override
      @CheckForNull
      public V get(K key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

            }
    
            VersionRange range = artifact.getVersionRange();
            if (range != null) {
                for (Restriction restriction : range.getRestrictions()) {
                    if (isSnapshot(restriction.getLowerBound()) || isSnapshot(restriction.getUpperBound())) {
                        return RELEASE_OR_SNAPSHOT;
                    }
                }
            }
    
            return RELEASE;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                    }
                };
            }
    
            @Override
            public Boundary getLowerBoundary() {
                org.eclipse.aether.version.VersionRange.Bound bound = delegate.getLowerBound();
                if (bound == null) {
                    return null;
                }
                return new Boundary() {
                    @Override
                    public Version getVersion() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

            if (versionConstraint.getRange() == null) {
                result.addVersion(versionConstraint.getVersion());
            } else {
                VersionRange.Bound lowerBound = versionConstraint.getRange().getLowerBound();
                if (lowerBound != null
                        && lowerBound.equals(versionConstraint.getRange().getUpperBound())) {
                    result.addVersion(lowerBound.getVersion());
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top