Codota Logo
VersionRange.isMinimumExclusive
Code IndexAdd Codota to your IDE (free)

How to use
isMinimumExclusive
method
in
org.apache.aries.util.VersionRange

Best Java code snippets using org.apache.aries.util.VersionRange.isMinimumExclusive (Showing top 8 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.apache.aries.application/org.apache.aries.application.resolver.obr

msgKey.append(vr.isMinimumExclusive() ? "_LOWEX" : "_LOW");
if (vr.getMaximumVersion() != null) {
 msgKey.append(vr.isMaximumExclusive() ? "_UPEX" : "_UP");
origin: apache/aries

msgKey.append(vr.isMinimumExclusive() ? "_LOWEX" : "_LOW");
if (vr.getMaximumVersion() != null) {
 msgKey.append(vr.isMaximumExclusive() ? "_UPEX" : "_UP");
origin: org.apache.aries/org.apache.aries.util-r42

if (vr.getMaximumVersion() != null && vr.isMinimumExclusive()) {
  filter.append(")(!(" + attribName + "=");
  filter.append(vr.getMinimumVersion());
origin: org.apache.karaf.region/org.apache.karaf.region.command

if (vr.getMaximumVersion() != null && vr.isMinimumExclusive()) {
  filter.append(")(!(" + attribName + "=");
  filter.append(vr.getMinimumVersion());
origin: org.apache.aries.application/org.apache.aries.application.runtime.framework

if (minV.compareTo(new Version(ve)) < 0 && maxV.compareTo(new Version(ve)) > 0) {
 value = true;
} else if (minV.compareTo(new Version(ve)) == 0 && !!!vri.isMinimumExclusive()) {
 value = true;
} else if (maxV.compareTo(new Version(ve)) == 0 && !!!vri.isMaximumExclusive()) {
origin: apache/aries

if (minV.compareTo(new Version(ve)) < 0 && maxV.compareTo(new Version(ve)) > 0) {
 value = true;
} else if (minV.compareTo(new Version(ve)) == 0 && !!!vri.isMinimumExclusive()) {
 value = true;
} else if (maxV.compareTo(new Version(ve)) == 0 && !!!vri.isMaximumExclusive()) {
origin: org.apache.aries/org.apache.aries.util-r42

/**
 * This method checks that the provided version matches the desired version.
 * 
 * @param version
 *            the version.
 * @return true if the version matches, false otherwise.
 */
public boolean matches(Version version) {
  boolean result;
  if (this.getMaximumVersion() == null) {
    result = this.getMinimumVersion().compareTo(version) <= 0;
  } else {
    int minN = this.isMinimumExclusive() ? 0 : 1;
    int maxN = this.isMaximumExclusive() ? 0 : 1;
    result = (this.getMinimumVersion().compareTo(version) < minN)
         && (version.compareTo(this.getMaximumVersion()) < maxN);
  }
  return result;
}
origin: org.apache.aries/org.apache.aries.util-r42

} else if (minCompare < 0) {
  newMinimumVersion = r.getMinimumVersion();
  newMinimumExclusive = r.isMinimumExclusive();
} else {
  newMinimumVersion = minimumVersion;
  newMinimumExclusive = (minimumExclusive || r.isMinimumExclusive());
org.apache.aries.utilVersionRangeisMinimumExclusive

Javadoc

is the minimum version exclusive

Popular methods of VersionRange

  • getMaximumVersion
    get the maximum version
  • getMinimumVersion
    get the minimum version
  • isMaximumExclusive
    is the maximum version exclusive
  • toString
  • matches
    This method checks that the provided version matches the desired version.
  • equals
  • getExactVersion
    this method returns the exact version from the versionInfo obj. this is used for DeploymentContent o
  • isExactVersion
    check if the versioninfo is the exact version
  • parseVersionRange
    Parse a version range and indicate if the version is an exact version
  • <init>
    Constructor designed for internal use only.
  • assertInvariants
    Assert object invariants. Called by constructors to verify that arguments were valid.
  • intersect
    Create a new version range that is the intersection of this and the argument. In other words, the la
  • assertInvariants,
  • intersect,
  • isRangeValid,
  • processExactVersionAttribute,
  • processVersionAttribute

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • onCreateOptionsMenu (Activity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Collectors (java.util.stream)
  • Notification (javax.management)
  • JOptionPane (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now