Package | Description |
---|---|
org.apache.openjpa.lib.util |
General Utilities
|
org.apache.openjpa.lib.util.collections |
commons-collections4 import.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
LRUMap.removeLRU(AbstractLinkedMap.LinkEntry entry) |
Modifier and Type | Field and Description |
---|---|
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.LinkEntry.after
The entry after this one in the order
|
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.LinkEntry.before
The entry before this one in the order
|
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.LinkIterator.last
The current (last returned) entry
|
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.LinkIterator.next
The next entry
|
Modifier and Type | Method and Description |
---|---|
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.createEntry(AbstractHashedMap.HashEntry<K,V> next,
int hashCode,
K key,
V value)
Creates an entry to store the data.
|
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.LinkIterator.currentEntry() |
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.entryAfter(AbstractLinkedMap.LinkEntry<K,V> entry)
Gets the
after field from a LinkEntry . |
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.entryBefore(AbstractLinkedMap.LinkEntry<K,V> entry)
Gets the
before field from a LinkEntry . |
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.getEntry(int index)
Gets the key at the specified index.
|
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.getEntry(Object key) |
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.LinkIterator.nextEntry() |
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.LinkIterator.previousEntry() |
Modifier and Type | Method and Description |
---|---|
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.entryAfter(AbstractLinkedMap.LinkEntry<K,V> entry)
Gets the
after field from a LinkEntry . |
protected AbstractLinkedMap.LinkEntry<K,V> |
AbstractLinkedMap.entryBefore(AbstractLinkedMap.LinkEntry<K,V> entry)
Gets the
before field from a LinkEntry . |
protected void |
LRUMap.moveToMRU(AbstractLinkedMap.LinkEntry<K,V> entry)
Moves an entry to the MRU position at the end of the list.
|
protected boolean |
LRUMap.removeLRU(AbstractLinkedMap.LinkEntry<K,V> entry)
Subclass method to control removal of the least recently used entry from the map.
|
protected void |
LRUMap.reuseMapping(AbstractLinkedMap.LinkEntry<K,V> entry,
int hashIndex,
int hashCode,
K key,
V value)
Reuses an entry by removing it and moving it to a new place in the map.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.