|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection java.util.AbstractList java.util.Vector com.softsynth.jmsl.util.RunRangeFinder
public class RunRangeFinder
This class scans its Objects, applies an arbitrary boolean test to them and generates a Vector of RunRange. Useful for objects which have a boolean test indicating whether they are in some way connected to the next element in the Vector. Used to help solve finding a range of beamed notes, for example (ex Notes which have a "beamed to next" flag)
Constructor Summary | |
---|---|
RunRangeFinder()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static void |
printRunRanges(java.util.Vector vectorOfRunRanges)
|
java.util.Vector |
scan(RunRangeChecker test)
|
Methods inherited from class java.util.Vector |
---|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
iterator, listIterator, listIterator |
Constructor Detail |
---|
public RunRangeFinder()
Method Detail |
---|
public java.util.Vector scan(RunRangeChecker test)
public static void printRunRanges(java.util.Vector vectorOfRunRanges)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |