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 DnsServerAddressStreamFields 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, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:
getin interfaceList<InetSocketAddress>- Specified by:
getin classAbstractList<InetSocketAddress>
-
size
public int size()- Specified by:
sizein interfaceCollection<InetSocketAddress>- Specified by:
sizein interfaceList<InetSocketAddress>- Specified by:
sizein classAbstractCollection<InetSocketAddress>
-
iterator
- Specified by:
iteratorin interfaceCollection<InetSocketAddress>- Specified by:
iteratorin interfaceIterable<InetSocketAddress>- Specified by:
iteratorin interfaceList<InetSocketAddress>- Overrides:
iteratorin classAbstractList<InetSocketAddress>
-