public class Asn1ValueRange
extends java.lang.Object
SEQUENCE
or SET
types.Modifier and Type | Field and Description |
---|---|
long |
max
The maximum value taken on by this range.
|
long |
min
The minimum value taken on by this range.
|
Constructor and Description |
---|
Asn1ValueRange()
This constructor sets the minimum and maximum values to the limits set
in java.lang.Long.
|
Asn1ValueRange(long min,
long max)
This constructor takes a minimum and maximum value to set the range.
|
Asn1ValueRange(long min,
java.lang.Object max)
This constructor ignores the max value and sets the minimal value for
the range.
|
Asn1ValueRange(java.lang.Object min,
long max)
This constructor ignores the min value and sets the maximal value for
the range.
|
Modifier and Type | Method and Description |
---|---|
long |
getMaxValue()
This method returns the maximum value.
|
long |
getMinValue()
This method returns the minimum value.
|
public long min
public long max
public Asn1ValueRange()
public Asn1ValueRange(long min, long max)
min
- The minimum value.max
- The maximum value.public Asn1ValueRange(java.lang.Object min, long max)
null
value
for the minimum.public Asn1ValueRange(long min, java.lang.Object max)
null
value
for the maximum.