public class NovaAddresses extends Object implements Addresses
Modifier and Type | Class and Description |
---|---|
static class |
NovaAddresses.NovaAddress |
Constructor and Description |
---|
NovaAddresses() |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
Address value)
Adds an address to the given network type
|
void |
add(String key,
List<NovaAddresses.NovaAddress> value) |
Map<String,List<? extends Address>> |
getAddresses() |
List<? extends Address> |
getAddresses(String type)
Gets the addresses associated with the given network type
|
String |
toString() |
public void add(String key, Address value)
Addresses
public void add(String key, List<NovaAddresses.NovaAddress> value)
public Map<String,List<? extends Address>> getAddresses()
getAddresses
in interface Addresses
public List<? extends Address> getAddresses(String type)
Addresses
getAddresses
in interface Addresses
type
- the type of networkCopyright © 2017. All rights reserved.