de.tototec.sbuild.internal

OSGiVersionRange

class OSGiVersionRange extends AnyRef

Version range. A version range is an interval describing a set of versions.

A range has a left (lower) endpoint and a right (upper) endpoint. Each endpoint can be open (excluded from the set) or closed (included in the set).

OSGIVersionRange objects are immutable.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OSGiVersionRange
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OSGiVersionRange(leftType: Char, leftEndpoint: OSGiVersion, rightEndpoint: OSGiVersion, rightType: Char)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (OSGiVersionRange, B)

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to ArrowAssoc[OSGiVersionRange] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val empty: Boolean

  11. def ensuring(cond: (OSGiVersionRange) ⇒ Boolean, msg: ⇒ Any): OSGiVersionRange

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to Ensuring[OSGiVersionRange] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (OSGiVersionRange) ⇒ Boolean): OSGiVersionRange

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to Ensuring[OSGiVersionRange] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): OSGiVersionRange

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to Ensuring[OSGiVersionRange] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): OSGiVersionRange

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to Ensuring[OSGiVersionRange] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(that: Any): Boolean

    Compares this OSGiVersionRange object to another object.

    Compares this OSGiVersionRange object to another object.

    A version range is considered to be *equal to* another version range if both the endpoints and their types are equal or if both version ranges are empty.

    returns

    true if that is a OSGiVersionRange and is equal to this object; false otherwise.

    Definition Classes
    OSGiVersionRange → AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def getLeftType(): Char

    The type of the left endpoint of this version range.

    The type of the left endpoint of this version range.

    returns

    OSGiVersioRange#LeftClosed if the left endpoint is closed or OSGiVersioRange#LeftOpen if the left endpoint is open.

  21. def getRightType(): Char

    The type of the right endpoint of this version range.

    The type of the right endpoint of this version range.

    returns

    OSGiVersionRange#RIGHT_CLOSED if the right endpoint is closed or OSGiVersionRange#RIGHT_OPEN if the right endpoint is open.

  22. var hash: Int

  23. def hashCode(): Int

    Returns a hash code value for the object.

    Returns a hash code value for the object.

    Definition Classes
    OSGiVersionRange → AnyRef → Any
  24. def includes(version: OSGiVersion): Boolean

    Returns whether this version range includes the specified version.

    Returns whether this version range includes the specified version.

    version

    The version to test for inclusion in this version range.

    returns

    true if the specified version is included in this version range; false otherwise.

  25. def intersection(ranges: OSGiVersionRange*): OSGiVersionRange

    Returns the intersection of this version range with the specified version ranges.

    Returns the intersection of this version range with the specified version ranges.

    ranges

    The version ranges to intersect with this version range.

    returns

    A version range representing the intersection of this version range and the specified version ranges. If no version ranges are specified, then this version range is returned.

  26. def isExact(): Boolean

    Returns whether this version range contains only a single version.

    Returns whether this version range contains only a single version.

    returns

    true if this version range contains only a single version; false otherwise.

  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. val left: OSGiVersion

    The left endpoint of this version range.

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. val right: OSGiVersion

    The right endpoint of this version range.

    The right endpoint of this version range. May be null which indicates the right endpoint is _Infinity_.

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Returns the string representation of this version range.

    Returns the string representation of this version range.

    The format of the version range string will be a version string if the right end point is _Infinity_ (null) or an interval string.

    returns

    The string representation of this version range.

    Definition Classes
    OSGiVersionRange → AnyRef → Any
  35. var versionRangeString: String

  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def [B](y: B): (OSGiVersionRange, B)

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to ArrowAssoc[OSGiVersionRange] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (oSGiVersionRange: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (oSGiVersionRange: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: OSGiVersionRange

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to ArrowAssoc[OSGiVersionRange] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (oSGiVersionRange: ArrowAssoc[OSGiVersionRange]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: OSGiVersionRange

    Implicit information
    This member is added by an implicit conversion from OSGiVersionRange to Ensuring[OSGiVersionRange] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (oSGiVersionRange: Ensuring[OSGiVersionRange]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from OSGiVersionRange to StringAdd

Inherited by implicit conversion any2stringfmt from OSGiVersionRange to StringFormat

Inherited by implicit conversion any2ArrowAssoc from OSGiVersionRange to ArrowAssoc[OSGiVersionRange]

Inherited by implicit conversion any2Ensuring from OSGiVersionRange to Ensuring[OSGiVersionRange]

Ungrouped