Example usage for org.apache.commons.collections15.map MultiKeyMap decorate

List of usage examples for org.apache.commons.collections15.map MultiKeyMap decorate

Introduction

In this page you can find the example usage for org.apache.commons.collections15.map MultiKeyMap decorate.

Prototype

public static <K, V> MultiKeyMap<K, V> decorate(AbstractHashedMap<MultiKey<K>, V> map) 

Source Link

Document

Decorates the specified map to add the MultiKeyMap API and fast query.

Usage

From source file:com.jgoetsch.ib.handlers.SingleHandlerManager.java

public SingleHandlerManager() {
    handlerMap = MultiKeyMap.decorate(new HashedMap<MultiKey<Object>, EWrapper>());
    handlerReverseMap = new MultiHashMap<EWrapper, MultiKey<Object>>();
}