java.lang.Object
com.hartmath.lib.HLevel
- public class HLevel
- extends java.lang.Object
Level specification
|
Field Summary |
(package private) int |
from
|
(package private) int |
to
|
|
Method Summary |
int |
getFrom()
The lower level-limit |
int |
getTo()
The lower level-limit. |
boolean |
includes(int negi,
int posi)
Tests if this range includes the specified value |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
from
int from
to
int to
HLevel
public HLevel(int i)
- Class Constructor.
HLevel
public HLevel(int t,
int f)
- Class Constructor.
HLevel
public HLevel(com.hartmath.expression.HObject obj)
- Creata a HLevel from an HInteger or HFunction list-object.
If
obj is a non-negeative HInteger iValue set Level {0,iValue};
If obj is a negative HInteger iValue set Level {iValue, 0};
If obj is a List {i0Value, i1Value} set Level {i0Value, i1Value};
getFrom
public int getFrom()
- The lower level-limit
getTo
public int getTo()
- The lower level-limit.
includes
public boolean includes(int negi,
int posi)
- Tests if this range includes the specified value