Class DataTranslatorVector

  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.Vector
              extended by com.softsynth.jmsl.util.DataTranslatorVector
All Implemented Interfaces:
DataTranslator,, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class DataTranslatorVector
extends java.util.Vector
implements DataTranslator

A Vector of DataTranslator. Add/remove DataTranslators to this. translate() runs through them in the sequence they were added

Nick Didkovsky, email:, (c) 2003 Nick Didkovsky, all rights reserved.
See Also:
DataTranslatorVectorDemo, Serialized Form

Constructor Summary
Method Summary
 double[] translate(MusicJob job, double[] data)
          Enumerate through DataTranslators, calling translate() on each, feeding output of one in as input to the next
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 DataTranslatorVector()
Method Detail


public double[] translate(MusicJob job,
                          double[] data)
Enumerate through DataTranslators, calling translate() on each, feeding output of one in as input to the next

Specified by:
translate in interface DataTranslator