Class DefaultDnsCache.DnsCacheEntryList
- All Implemented Interfaces:
Iterable<DnsCacheEntry>, Collection<DnsCacheEntry>, List<DnsCacheEntry>
- Enclosing class:
DefaultDnsCache
-
Field Summary
FieldsFields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractList
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, streamMethods inherited from interface List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, 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>
-