|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.deployers.structure.spi.classloading.VersionRange
public class VersionRange
VersionRange.
| Field Summary | |
|---|---|
static VersionRange |
ALL_VERSIONS
All versions |
| Constructor Summary | |
|---|---|
VersionRange(Version low)
Create a new VersionRange with just a low inclusive check |
|
VersionRange(Version low,
boolean lowInclusive,
Version high,
boolean highInclusive)
Create a new VersionRange. |
|
VersionRange(Version low,
Version high)
Create a new VersionRange with low inclusive and high non-inclusive |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Version |
getHigh()
Get the high. |
Version |
getLow()
Get the low. |
int |
hashCode()
|
boolean |
isHighInclusive()
Get the highInclusive. |
boolean |
isInRange(Version version)
Test whether a version is in range |
boolean |
isLowInclusive()
Get the lowInclusive. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final VersionRange ALL_VERSIONS
| Constructor Detail |
|---|
public VersionRange(Version low)
low - the low range (null for no lower bound)
public VersionRange(Version low,
Version high)
low - the low range (null for no lower bound)high - the high range (null for no higher bound)
public VersionRange(Version low,
boolean lowInclusive,
Version high,
boolean highInclusive)
low - the low range (null for no lower bound)lowInclusive - whether the low bound is inclusivehigh - the high range (null for no higher bound)highInclusive - whether the high bound is inclusive| Method Detail |
|---|
public Version getLow()
public boolean isLowInclusive()
public Version getHigh()
public boolean isHighInclusive()
public boolean isInRange(Version version)
version - the version to test
IllegalArgumentException - for a null versionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||