/** * Factory method to create a fixed size sorted map. * * @param map the map to decorate, must not be null * @throws IllegalArgumentException if map is null */ public static SortedMap decorate(SortedMap map) { return new FixedSizeSortedMap(map); }
/** * Factory method to create a fixed size sorted map. * * @param map the map to decorate, must not be null * @throws IllegalArgumentException if map is null */ public static SortedMap decorate(SortedMap map) { return new FixedSizeSortedMap(map); }
public SortedMap tailMap(Object fromKey) { SortedMap map = getSortedMap().tailMap(fromKey); return new FixedSizeSortedMap(map); }
public SortedMap headMap(Object toKey) { SortedMap map = getSortedMap().headMap(toKey); return new FixedSizeSortedMap(map); }
public SortedMap subMap(Object fromKey, Object toKey) { SortedMap map = getSortedMap().subMap(fromKey, toKey); return new FixedSizeSortedMap(map); }
public SortedMap tailMap(Object fromKey) { SortedMap map = getSortedMap().tailMap(fromKey); return new FixedSizeSortedMap(map); }
public SortedMap subMap(Object fromKey, Object toKey) { SortedMap map = getSortedMap().subMap(fromKey, toKey); return new FixedSizeSortedMap(map); }
public SortedMap headMap(Object toKey) { SortedMap map = getSortedMap().headMap(toKey); return new FixedSizeSortedMap(map); }
/** * Factory method to create a fixed size sorted map. * * @param map the map to decorate, must not be null * @throws IllegalArgumentException if map is null */ public static SortedMap decorate(SortedMap map) { return new FixedSizeSortedMap(map); }
/** * Factory method to create a fixed size sorted map. * * @param map the map to decorate, must not be null * @throws IllegalArgumentException if map is null */ public static SortedMap decorate(SortedMap map) { return new FixedSizeSortedMap(map); }
/** * Factory method to create a fixed size sorted map. * * @param map the map to decorate, must not be null * @throws IllegalArgumentException if map is null */ public static SortedMap decorate(SortedMap map) { return new FixedSizeSortedMap(map); }
/** * Factory method to create a fixed size sorted map. * * @param map the map to decorate, must not be null * @throws IllegalArgumentException if map is null */ public static SortedMap decorate(SortedMap map) { return new FixedSizeSortedMap(map); }
/** * Factory method to create a fixed size sorted map. * * @param map the map to decorate, must not be null * @throws IllegalArgumentException if map is null */ public static SortedMap decorate(SortedMap map) { return new FixedSizeSortedMap(map); }
public SortedMap tailMap(Object fromKey) { SortedMap map = getSortedMap().tailMap(fromKey); return new FixedSizeSortedMap(map); }
public SortedMap headMap(Object toKey) { SortedMap map = getSortedMap().headMap(toKey); return new FixedSizeSortedMap(map); }
public SortedMap subMap(Object fromKey, Object toKey) { SortedMap map = getSortedMap().subMap(fromKey, toKey); return new FixedSizeSortedMap(map); }
public SortedMap subMap(Object fromKey, Object toKey) { SortedMap map = getSortedMap().subMap(fromKey, toKey); return new FixedSizeSortedMap(map); }
public SortedMap tailMap(Object fromKey) { SortedMap map = getSortedMap().tailMap(fromKey); return new FixedSizeSortedMap(map); }
public SortedMap headMap(Object toKey) { SortedMap map = getSortedMap().headMap(toKey); return new FixedSizeSortedMap(map); }
public SortedMap headMap(Object toKey) { SortedMap map = getSortedMap().headMap(toKey); return new FixedSizeSortedMap(map); }