javax.telephony.media
Class IntRange
java.lang.Object
|
+--javax.telephony.media.IntRange
- All Implemented Interfaces:
- java.io.Serializable
- public class IntRange
- extends java.lang.Object
- implements java.io.Serializable
Represents a closed interval delimited by upper and lower ints.
Some Resources have attributes and/or parameters that use
this range type.
- Since:
- JTAPI-1.3
- See Also:
- Serialized Form
Field Summary |
int |
lower
Field containing the lower bound. |
int |
upper
Field containing the upper bound. |
Constructor Summary |
IntRange(int lower,
int upper)
Construct an IntRange, a closed interval
delimited by the [lower, upper] bounds. |
Method Summary |
boolean |
equals(java.lang.Object other)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
lower
public int lower
- Field containing the lower bound.
upper
public int upper
- Field containing the upper bound.
IntRange
public IntRange(int lower,
int upper)
- Construct an IntRange, a closed interval
delimited by the [lower, upper] bounds.
- Parameters:
lower
- the int at the lower bound of the range.upper
- the int at the upper bound of the range.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
Send comments to: JSR-43@ectf.org