Example usage for org.apache.commons.collections.map ReferenceMap ReferenceMap

List of usage examples for org.apache.commons.collections.map ReferenceMap ReferenceMap

Introduction

In this page you can find the example usage for org.apache.commons.collections.map ReferenceMap ReferenceMap.

Prototype

public ReferenceMap(int keyType, int valueType, int capacity, float loadFactor, boolean purgeValues) 

Source Link

Document

Constructs a new ReferenceMap with the specified reference types, load factor and initial capacity.

Usage

From source file:org.jasig.portal.services.entityproperties.PersonDirPropertyFinder.java

public PersonDirPropertyFinder() {
    pa = PersonAttributeDaoLocator.getPersonAttributeDao();
    cache = new ReferenceMap(ReferenceMap.HARD, ReferenceMap.SOFT, 120, .75f, true);
}