net.liftweb.util.LRU

class LRU

class LRU[KeyType, ValueType](size : Int, loadFactor : Box[Float])

 extends LRUMap[KeyType, ValueType]


LRU Cache wrapping {@link org.apache.commons.collections.map.LRUMap}
param
loadFactor - the Load Factor to construct our LRU with.
size - the maximum number of Elements allowed in the LRU map


Source: LRU.scala(28)

 Constructors

def this(size : Int)
def this(size : Int, loadFactor : Box[Float])

 Fields

keys.. def keys List[K] LRUMap
maxSize.. def maxSize Int LRUMap

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
-.. def -(arg0 : K) Unit LRUMap
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
apply.. def apply(arg0 : K) V LRUMap
asInstanceOf.. final def asInstanceOf[T0] T0 Any
canExpire.. protected def canExpire(arg0 : K, arg1 : V) Boolean LRUMap
clone.. protected def clone Object AnyRef
contains.. def contains(arg0 : K) Boolean LRUMap
elements.. def elements Iterator[(K, V)] LRUMap
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
expired.. protected def expired(arg0 : K, arg1 : V) Unit LRUMap
finalize.. protected def finalize Unit AnyRef
get.. def get(arg0 : K) Box[V] LRUMap
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
remove.. def remove(arg0 : K) Unit LRUMap
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
update.. def update(arg0 : K, arg1 : V) Unit LRUMap
updateMaxSize.. def updateMaxSize(arg0 : Int) Unit LRUMap
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.