Public Member Functions | |
| Range (bool leftopen, Object left, bool rightopen, Object right) | |
| Create an interval range. | |
| bool | contains (Object value) |
| Returns whether given value is within the range. | |
| override string | ToString () |
Static Private Member Functions | |
| int | compare (Object o1, Object o2) |
| Compare the two objects (int or double). | |
Private Attributes | |
| Object | left |
| Object | right |
| bool | leftopen |
| bool | rightopen |
|
||||||||||||||||||||
|
Create an interval range.
|
|
||||||||||||
|
Compare the two objects (int or double).
|
|
|
Returns whether given value is within the range.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.7