Class NetworkList
java.lang.Object
QueueNet.NetworkList
This class implements a network list. Note that only classes of QueueNet
package can add or remove objects to/from the list.
- Author:
- Francesco Radaelli, Bertoli Marco
-
Method Summary
-
Method Details
-
getFirst
-
getLast
-
get
Gets i-th network in the list.- Parameters:
index- the index- Returns:
- Index-th network in the list.
-
get
Gets the network in the list, if it exists, which has the specified Name.- Parameters:
name- the name- Returns:
- The network called "Name". Returns Null if it does not exist.
-
size
public int size()Gets list size.- Returns:
- Number of networks in the list.
-
listIterator
Gets a list iterator
-