com.softsynth.jmsl.util
Class RunRange
java.lang.Object
com.softsynth.jmsl.util.RunRange
public class RunRange
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RunRange
public RunRange()
reset
public void reset()
isValid
public boolean isValid()
length
public int length()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getEndIndex
public int getEndIndex()
- Returns:
isRunInProgress
public boolean isRunInProgress()
- Returns:
getStartIndex
public int getStartIndex()
- Returns:
setEndIndex
public void setEndIndex(int i)
- Parameters:
i
-
setRunInProgress
public void setRunInProgress(boolean b)
- Parameters:
b
-
setStartIndex
public void setStartIndex(int i)
- Parameters:
i
-
isRunInProgressAtEnd
public boolean isRunInProgressAtEnd()
- Returns:
- if run range ended because it ran our of elements under consideration, but last one was still running out.
isRunInProgressAtStart
public boolean isRunInProgressAtStart()
- Returns:
setRunInProgressAtEnd
public void setRunInProgressAtEnd(boolean b)
- Parameters:
b
-
setRunInProgressAtStart
public void setRunInProgressAtStart(boolean b)
- Parameters:
b
-