Package io.netty.resolver.dns
Class DefaultDnsCache.DnsCacheEntryList
- All Implemented Interfaces:
Iterable<DnsCacheEntry>
,Collection<DnsCacheEntry>
,List<DnsCacheEntry>
,SequencedCollection<DnsCacheEntry>
- Enclosing class:
DefaultDnsCache
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, indexOf, iterator, 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
-
entries
-
-
Constructor Details
-
DnsCacheEntryList
DnsCacheEntryList(List<? extends DnsCacheEntry> entries)
-
-
Method Details
-
get
- Specified by:
get
in interfaceList<DnsCacheEntry>
- Specified by:
get
in classAbstractList<DnsCacheEntry>
-
size
public int size()- Specified by:
size
in interfaceCollection<DnsCacheEntry>
- Specified by:
size
in interfaceList<DnsCacheEntry>
- Specified by:
size
in classAbstractCollection<DnsCacheEntry>
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<DnsCacheEntry>
- Specified by:
hashCode
in interfaceList<DnsCacheEntry>
- Overrides:
hashCode
in classAbstractList<DnsCacheEntry>
-
equals
- Specified by:
equals
in interfaceCollection<DnsCacheEntry>
- Specified by:
equals
in interfaceList<DnsCacheEntry>
- Overrides:
equals
in classAbstractList<DnsCacheEntry>
-