bass.visualisation.graph
Class BassList<B extends BassGraphElement>

java.lang.Object
  extended by bass.visualisation.graph.BassList<B>
Type Parameters:
B -
All Implemented Interfaces:
java.lang.Iterable<B>
Direct Known Subclasses:
BassClusterList, BassEdgeList, BassNodeList

public abstract class BassList<B extends BassGraphElement>
extends java.lang.Object
implements java.lang.Iterable<B>

BassList is the abstract class for all lists (BessEdgeList, BassNodeList, BassClusterList). It defines the structure of those lists. Used in b.a.s.s Vector.

Version:
0.23
Author:
Patrick Mai

Field Summary
protected  int amount
           
protected  java.util.Vector<B> elements
           
 
Constructor Summary
BassList()
           
 
Method Summary
 java.util.Iterator<B> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

elements

protected java.util.Vector<B extends BassGraphElement> elements

amount

protected int amount
Constructor Detail

BassList

public BassList()
Method Detail

size

public int size()

iterator

public java.util.Iterator<B> iterator()
Specified by:
iterator in interface java.lang.Iterable<B extends BassGraphElement>