Klasse LRUCacheEnumerator<V>
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.LRUCacheEnumerator<V>
- Alle implementierten Schnittstellen:
Enumeration<V>
The
LRUCacheEnumerator
returns its elements in
the order they are found in the LRUCache
, with the
most recent elements first.
Once the enumerator is created, elements which are later added
to the cache are not returned by the enumerator. However,
elements returned from the enumerator could have been closed
by the cache.-
Verschachtelte Klassen - Übersicht
-
Feldübersicht
Modifizierer und TypFeldBeschreibungprotected LRUCacheEnumerator.LRUEnumeratorElement<V>
Current element; -
Konstruktorübersicht
KonstruktorBeschreibungLRUCacheEnumerator
(LRUCacheEnumerator.LRUEnumeratorElement<V> firstElement) Creates a CacheEnumerator on the list ofLRUEnumeratorElements
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns true if more elements exist.Returns the next element.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden java.util.Enumeration
asIterator
-
Felddetails
-
elementQueue
Current element;
-
-
Konstruktordetails
-
LRUCacheEnumerator
Creates a CacheEnumerator on the list ofLRUEnumeratorElements
.
-
-
Methodendetails
-
hasMoreElements
public boolean hasMoreElements()Returns true if more elements exist.- Angegeben von:
hasMoreElements
in SchnittstelleEnumeration<V>
-
nextElement
Returns the next element.- Angegeben von:
nextElement
in SchnittstelleEnumeration<V>
-