public class AbstractEPNManager.NetworkList extends Object
Constructor and Description |
---|
NetworkList()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Network network)
This method adds a new instance of the Network to the list.
|
Network |
getCurrent()
This method returns the most recent instance of the network.
|
List<Network> |
getNetworks()
This method returns the list of networks.
|
Network |
getVersion(String version)
This method returns the network instance associated with
the supplied version.
|
void |
remove(Network network)
This method removes an instance of the Network from the list.
|
int |
size()
This method returns the number of networks in the list.
|
public void add(Network network)
network
- The networkpublic void remove(Network network)
network
- The networkpublic Network getCurrent()
public Network getVersion(String version)
version
- The versionpublic List<Network> getNetworks()
public int size()
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.