Package com.yahoo.config.provision
Class NetworkPorts
- java.lang.Object
-
- com.yahoo.config.provision.NetworkPorts
-
public class NetworkPorts extends Object
Models an immutable list of network port allocations- Author:
- arnej
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NetworkPorts.Allocation
-
Constructor Summary
Constructors Constructor Description NetworkPorts(Collection<NetworkPorts.Allocation> allocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<NetworkPorts.Allocation>
allocations()
Returns a read only collection of the port allocations of thisboolean
equals(Object other)
int
hashCode()
int
size()
-
-
-
Constructor Detail
-
NetworkPorts
public NetworkPorts(Collection<NetworkPorts.Allocation> allocations)
-
-
Method Detail
-
allocations
public Collection<NetworkPorts.Allocation> allocations()
Returns a read only collection of the port allocations of this
-
size
public int size()
-
-