Klasse MRUCache<T>

java.lang.Object
org.deidentifier.arx.framework.check.history.MRUCache<T>
Typparameter:
T - the generic type

public class MRUCache<T> extends Object
The Class MRUCache.
  • Konstruktordetails

    • MRUCache

      public MRUCache(int size)
      Creates a new instance
      Parameter:
      size - the size
  • Methodendetails

    • append

      public void append(T node)
      Append.
      Parameter:
      node - the node
    • clear

      public void clear()
      Clear.
    • getHead

      public MRUCacheEntry<T> getHead()
      Gets the first.
      Gibt zurück:
      the first
    • iterator

      public Iterator<T> iterator()
      Iterator.
      Gibt zurück:
      the iterator
    • removeHead

      public T removeHead()
      Removes the head.
      Gibt zurück:
      the t
    • size

      public int size()
      Size.
      Gibt zurück:
      the int
    • touch

      public void touch(T node)
      Touch.
      Parameter:
      node - the node