Class DefaultDnsCache.DnsCacheEntryList
java.lang.Object
java.util.AbstractCollection<DnsCacheEntry>
java.util.AbstractList<DnsCacheEntry>
io.netty.resolver.dns.DefaultDnsCache.DnsCacheEntryList
- All Implemented Interfaces:
java.lang.Iterable<DnsCacheEntry>, java.util.Collection<DnsCacheEntry>, java.util.List<DnsCacheEntry>
- Enclosing class:
DefaultDnsCache
private static final class DefaultDnsCache.DnsCacheEntryList
extends java.util.AbstractList<DnsCacheEntry>
-
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, streamMethods inherited from interface java.lang.Iterable
forEachMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Field Details
-
entries
-
-
Constructor Details
-
DnsCacheEntryList
DnsCacheEntryList(java.util.List<? extends DnsCacheEntry> entries)
-
-
Method Details
-
get
- Specified by:
getin interfacejava.util.List<DnsCacheEntry>- Specified by:
getin classjava.util.AbstractList<DnsCacheEntry>
-
size
public int size()- Specified by:
sizein interfacejava.util.Collection<DnsCacheEntry>- Specified by:
sizein interfacejava.util.List<DnsCacheEntry>- Specified by:
sizein classjava.util.AbstractCollection<DnsCacheEntry>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacejava.util.Collection<DnsCacheEntry>- Specified by:
hashCodein interfacejava.util.List<DnsCacheEntry>- Overrides:
hashCodein classjava.util.AbstractList<DnsCacheEntry>
-
equals
public boolean equals(java.lang.Object o) - Specified by:
equalsin interfacejava.util.Collection<DnsCacheEntry>- Specified by:
equalsin interfacejava.util.List<DnsCacheEntry>- Overrides:
equalsin classjava.util.AbstractList<DnsCacheEntry>
-