public class Hosts
extends java.lang.Object
implements java.lang.Iterable<Host>
Constructor and Description |
---|
Hosts() |
Modifier and Type | Method and Description |
---|---|
void |
add(Host host) |
java.util.Map<java.lang.String,Host> |
all() |
Host |
get(java.lang.String name) |
Host |
getDefault() |
java.lang.String |
getDefaultHost() |
java.util.Iterator<Host> |
iterator() |
void |
setDefault(java.lang.String aDefault) |
public void add(Host host)
public java.util.Map<java.lang.String,Host> all()
public Host get(java.lang.String name)
public void setDefault(java.lang.String aDefault)
public java.lang.String getDefaultHost()
public Host getDefault()
public java.util.Iterator<Host> iterator()
iterator
in interface java.lang.Iterable<Host>