org.apache.commons.collections.bidimap

Class DualTreeBidiMap.ViewMap

Enclosing Class:
DualTreeBidiMap
Implemented Interfaces:
Map, SortedMap

protected static class DualTreeBidiMap.ViewMap
extends AbstractSortedMapDecorator

Internal sorted map view.

Field Summary

Fields inherited from class org.apache.commons.collections.map.AbstractMapDecorator

map

Constructor Summary

ViewMap(DualTreeBidiMap bidi, SortedMap sm)
Constructor.

Method Summary

void
clear()
boolean
containsValue(Object value)
SortedMap
headMap(Object toKey)
SortedMap
subMap(Object fromKey, Object toKey)
SortedMap
tailMap(Object fromKey)

Methods inherited from class org.apache.commons.collections.map.AbstractSortedMapDecorator

comparator, firstKey, getSortedMap, headMap, lastKey, subMap, tailMap

Methods inherited from class org.apache.commons.collections.map.AbstractMapDecorator

clear, containsKey, containsValue, entrySet, equals, get, getMap, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values

Constructor Details

ViewMap

protected ViewMap(DualTreeBidiMap bidi,
                  SortedMap sm)
Constructor.

Parameters:
bidi - the parent bidi map
sm - the subMap sorted map

Method Details

clear

public void clear()
Overrides:
clear in interface AbstractMapDecorator


containsValue

public boolean containsValue(Object value)
Overrides:
containsValue in interface AbstractMapDecorator


headMap

public SortedMap headMap(Object toKey)
Overrides:
headMap in interface AbstractSortedMapDecorator


subMap

public SortedMap subMap(Object fromKey,
                        Object toKey)
Overrides:
subMap in interface AbstractSortedMapDecorator


tailMap

public SortedMap tailMap(Object fromKey)
Overrides:
tailMap in interface AbstractSortedMapDecorator


Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.