public class SupportedVersionRange extends Object
Constructor and Description |
---|
SupportedVersionRange(short minVersion,
short maxVersion)
Raises an exception unless the following conditions are met:
0 <= minVersion <= maxVersion.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
short |
maxVersion() |
short |
minVersion() |
String |
toString() |
public SupportedVersionRange(short minVersion, short maxVersion)
minVersion
- The minimum version value.maxVersion
- The maximum version value.IllegalArgumentException
- Raised when the condition described above is not met.