Package org.apache.felix.framework.util
Class VersionRange
- java.lang.Object
-
- org.apache.felix.framework.util.VersionRange
-
public class VersionRange extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static VersionRange
infiniteRange
-
Constructor Summary
Constructors Constructor Description VersionRange(Version low, boolean isLowInclusive, Version high, boolean isHighInclusive)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Version
getCeiling()
Version
getFloor()
int
hashCode()
boolean
isCeilingInclusive()
boolean
isFloorInclusive()
boolean
isInRange(Version version)
static VersionRange
parse(java.lang.String range)
java.lang.String
toString()
-
-
-
Field Detail
-
infiniteRange
public static final VersionRange infiniteRange
-
-
Method Detail
-
getFloor
public Version getFloor()
-
isFloorInclusive
public boolean isFloorInclusive()
-
getCeiling
public Version getCeiling()
-
isCeilingInclusive
public boolean isCeilingInclusive()
-
isInRange
public boolean isInRange(Version version)
-
parse
public static VersionRange parse(java.lang.String range)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-