public class FinalizedVersionRange extends Object
Constructor and Description |
---|
FinalizedVersionRange(short minVersionLevel,
short maxVersionLevel)
Raises an exception unless the following condition is met:
minVersionLevel >= 1 and maxVersionLevel >= 1 and maxVersionLevel >= minVersionLevel . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
short |
maxVersionLevel() |
short |
minVersionLevel() |
String |
toString() |
public FinalizedVersionRange(short minVersionLevel, short maxVersionLevel)
minVersionLevel >= 1
and maxVersionLevel >= 1
and maxVersionLevel >= minVersionLevel
.minVersionLevel
- The minimum version level value.maxVersionLevel
- The maximum version level value.IllegalArgumentException
- Raised when the condition described above is not met.