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, 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
-
entries
-
-
Constructor Details
-
DnsCacheEntryList
DnsCacheEntryList(List<? extends DnsCacheEntry> entries)
-
-
Method Details
-
get
- Specified by:
getin interfaceList<DnsCacheEntry>- Specified by:
getin classAbstractList<DnsCacheEntry>
-
size
public int size()- Specified by:
sizein interfaceCollection<DnsCacheEntry>- Specified by:
sizein interfaceList<DnsCacheEntry>- Specified by:
sizein classAbstractCollection<DnsCacheEntry>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<DnsCacheEntry>- Specified by:
hashCodein interfaceList<DnsCacheEntry>- Overrides:
hashCodein classAbstractList<DnsCacheEntry>
-
equals
- Specified by:
equalsin interfaceCollection<DnsCacheEntry>- Specified by:
equalsin interfaceList<DnsCacheEntry>- Overrides:
equalsin classAbstractList<DnsCacheEntry>
-