sound.musica
Class PetriNodes
java.lang.Object
sound.musica.PetriNodes
public class PetriNodes
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PetriNodes
public PetriNodes()
add
public void add(PetriNode pn)
getNext
public PetriNode getNext(PetriNode pn)
addNoDupes
public PetriNode addNoDupes(PetriNode pn)
getNode
public int getNode(PetriNode pn)
- return -1 if node not present, otherwise return
location of node.
init
public void init()
getNode
public PetriNode getNode(int i)
print
public void print()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getSize
public int getSize()