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

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

Introduction

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

Prototype

public static <K, V> SortedMap<K, V> decorate(SortedMap<K, V> map, Transformer<K, V> transformer) 

Source Link

Document

Factory method to create a lazily instantiated sorted map.

Usage

From source file:edu.northwestern.bioinformatics.studycalendar.web.activity.AdvancedEditActivityCommand.java

private Map<String, UriPropertyList> createNewUri() {
    return LazySortedMap.decorate(new TreeMap<String, UriPropertyList>(), new Factory<UriPropertyList>() {
        public UriPropertyList create() {
            return new UriPropertyList();
        }/*from w  w w .j  a  v a 2s  .  c om*/
    });
}