Java org.apache.commons.collections LRUMap fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections LRUMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections LRUMap.

The text is from its open source code.

Constructor

LRUMap(int i)
Create a new LRUMap with a maximum capacity of i.

Method

Objectget(Object key)

Get the value for a key from the Map.

Objectput(Object key, Object value)

Removes the key and its Object from the Map.

(Note: this may result in the "Least Recently Used" object being removed from the Map.

voidsetMaximumSize(int maximumSize)
Setter for property maximumSize.