public class HostSet extends Object implements Iterable<InetSocketAddress>
For InetSocketAddress A and B with the same host address, we define a partial order between A and B, A <= B iff A.getPort() == B .getPort() || B.getPort() == 0.
| Constructor and Description |
|---|
HostSet() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<InetSocketAddress> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Iterator<InetSocketAddress> iterator()
iterator in interface Iterable<InetSocketAddress>Copyright © 2008–2023 Apache Software Foundation. All rights reserved.