return LazySortedMap.decorate(map, factory);
public SortedMap tailMap(Object fromKey) { SortedMap map = getSortedMap().tailMap(fromKey); return new LazySortedMap(map, factory); }
public Comparator comparator() { return getSortedMap().comparator(); }
/** * Factory method to create a lazily instantiated sorted map. * * @param map the map to decorate, must not be null * @param factory the factory to use, must not be null * @throws IllegalArgumentException if map or factory is null */ public static SortedMap decorate(SortedMap map, Factory factory) { return new LazySortedMap(map, factory); }
public Object firstKey() { return getSortedMap().firstKey(); }
/** * Factory method to create a lazily instantiated sorted map. * * @param map the map to decorate, must not be null * @param factory the factory to use, must not be null * @throws IllegalArgumentException if map or factory is null */ public static SortedMap decorate(SortedMap map, Transformer factory) { return new LazySortedMap(map, factory); }
public SortedMap headMap(Object toKey) { SortedMap map = getSortedMap().headMap(toKey); return new LazySortedMap(map, factory); }
return LazySortedMap.decorate(map, transformerFactory);
public Object lastKey() { return getSortedMap().lastKey(); }
/** * Factory method to create a lazily instantiated sorted map. * * @param map the map to decorate, must not be null * @param factory the factory to use, must not be null * @throws IllegalArgumentException if map or factory is null */ public static SortedMap decorate(SortedMap map, Factory factory) { return new LazySortedMap(map, factory); }
public SortedMap subMap(Object fromKey, Object toKey) { SortedMap map = getSortedMap().subMap(fromKey, toKey); return new LazySortedMap(map, factory); }
return LazySortedMap.decorate(map, factory);
public Object firstKey() { return getSortedMap().firstKey(); }
/** * Factory method to create a lazily instantiated sorted map. * * @param map the map to decorate, must not be null * @param factory the factory to use, must not be null * @throws IllegalArgumentException if map or factory is null */ public static SortedMap decorate(SortedMap map, Transformer factory) { return new LazySortedMap(map, factory); }
public SortedMap tailMap(Object fromKey) { SortedMap map = getSortedMap().tailMap(fromKey); return new LazySortedMap(map, factory); }
return LazySortedMap.decorate(map, transformerFactory);
public Object lastKey() { return getSortedMap().lastKey(); }
/** * Factory method to create a lazily instantiated sorted map. * * @param map the map to decorate, must not be null * @param factory the factory to use, must not be null * @throws IllegalArgumentException if map or factory is null */ public static SortedMap decorate(SortedMap map, Transformer factory) { return new LazySortedMap(map, factory); }
public SortedMap subMap(Object fromKey, Object toKey) { SortedMap map = getSortedMap().subMap(fromKey, toKey); return new LazySortedMap(map, factory); }
protected SortedMap decorateMap(SortedMap map, Factory factory) { return LazySortedMap.decorate(map, factory); }