Package io.netty.resolver.dns
Class DnsResolveContext.DnsAddressStreamList
java.lang.Object
java.util.AbstractCollection<InetSocketAddress>
java.util.AbstractList<InetSocketAddress>
io.netty.resolver.dns.DnsResolveContext.DnsAddressStreamList
- All Implemented Interfaces:
Iterable<InetSocketAddress>
,Collection<InetSocketAddress>
,List<InetSocketAddress>
,SequencedCollection<InetSocketAddress>
- Enclosing class:
DnsResolveContext<T>
private static final class DnsResolveContext.DnsAddressStreamList
extends AbstractList<InetSocketAddress>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List
<InetSocketAddress> private final DnsServerAddressStream
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
duplicate
-
addresses
-
-
Constructor Details
-
DnsAddressStreamList
DnsAddressStreamList(DnsServerAddressStream stream)
-
-
Method Details
-
get
- Specified by:
get
in interfaceList<InetSocketAddress>
- Specified by:
get
in classAbstractList<InetSocketAddress>
-
size
public int size()- Specified by:
size
in interfaceCollection<InetSocketAddress>
- Specified by:
size
in interfaceList<InetSocketAddress>
- Specified by:
size
in classAbstractCollection<InetSocketAddress>
-
iterator
- Specified by:
iterator
in interfaceCollection<InetSocketAddress>
- Specified by:
iterator
in interfaceIterable<InetSocketAddress>
- Specified by:
iterator
in interfaceList<InetSocketAddress>
- Overrides:
iterator
in classAbstractList<InetSocketAddress>
-