|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbass.visualisation.graph.BassList<BassNode>
bass.visualisation.graph.BassNodeList
public class BassNodeList
BassNodeList contains as much BassNodes as desired. It is the general object-type for BassNode's
(A band)
| Field Summary | |
|---|---|
private BassClusterList |
clusters
|
| Fields inherited from class bass.visualisation.graph.BassList |
|---|
amount, elements |
| Constructor Summary | |
|---|---|
BassNodeList()
empty constructor |
|
| Method Summary | |
|---|---|
void |
add(BassNode n)
Adds a BassNode to this list. |
boolean |
contains(BassNode n)
Checks this list for the element |
int |
getAmountOfNodes()
|
BassClusterList |
getClusters()
|
int |
getIndexByName(java.lang.String id)
|
BassNode |
getNode(int index)
|
void |
increaseAmount()
Each time the add method is called this should be called as well. |
boolean |
isInList(BassNode n)
Checks if this list contains the param element. |
void |
remove(BassNode n)
|
| Methods inherited from class bass.visualisation.graph.BassList |
|---|
iterator, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private BassClusterList clusters
| Constructor Detail |
|---|
public BassNodeList()
| Method Detail |
|---|
public void add(BassNode n)
n - The BassNode to be added to the listpublic BassNode getNode(int index)
index - The index where the desired BassNode is stored in this list.
public int getIndexByName(java.lang.String id)
id - The ID (Unique band id from mySpace.com) of the Band you want to get
public void remove(BassNode n)
n - The BassNode to remove from the listpublic boolean contains(BassNode n)
n - The BassNode to be checked
public boolean isInList(BassNode n)
n - The BassNode to be checked
public int getAmountOfNodes()
public void increaseAmount()
public BassClusterList getClusters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||