ch.qos.logback.classic.pattern.lru
Class T_LRUCache<K>

java.lang.Object
  extended by ch.qos.logback.classic.pattern.lru.T_LRUCache<K>

public class T_LRUCache<K>
extends Object

This is an alternative (slower) implementation of LRUCache for testing purposes.

Author:
Ceki Gulcu

Constructor Summary
T_LRUCache(int size)
           
 
Method Summary
 void dump()
           
 K get(K k)
           
 List<K> keyList()
           
 void put(K k)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

T_LRUCache

public T_LRUCache(int size)
Method Detail

put

public void put(K k)

get

public K get(K k)

keyList

public List<K> keyList()

dump

public void dump()


Copyright © 2005-2009 QOS.ch. All Rights Reserved.