org.openmdx.base.collection
Class MarshallingSortedMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.openmdx.base.collection.MarshallingMap
          extended by org.openmdx.base.collection.MarshallingSortedMap
All Implemented Interfaces:
Serializable, Map, SortedMap

public class MarshallingSortedMap
extends MarshallingMap
implements SortedMap, Serializable

A Marshalling Sorted Map

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
protected  SortedMap sortedMap
           
 
Fields inherited from class org.openmdx.base.collection.MarshallingMap
map, marshaller
 
Constructor Summary
MarshallingSortedMap(CollectionMarshaller marshaller, SortedMap sortedMap)
          Constructor
MarshallingSortedMap(Marshaller marshaller, SortedMap sortedMap)
          Constructor
 
Method Summary
 Comparator comparator()
           
 Object firstKey()
           
 SortedMap headMap(Object toKey)
           
 Object lastKey()
           
 SortedMap subMap(Object fromKey, Object toKey)
           
 SortedMap tailMap(Object fromKey)
           
 
Methods inherited from class org.openmdx.base.collection.MarshallingMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, remove, size, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, putAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.SortedMap
entrySet, keySet, values
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size
 

Field Detail

sortedMap

protected final SortedMap sortedMap
Constructor Detail

MarshallingSortedMap

public MarshallingSortedMap(CollectionMarshaller marshaller,
                            SortedMap sortedMap)
Constructor

Parameters:
marshaller -
sortedMap -

MarshallingSortedMap

public MarshallingSortedMap(Marshaller marshaller,
                            SortedMap sortedMap)
Constructor

Parameters:
marshaller -
sortedMap -
Method Detail

subMap

public SortedMap subMap(Object fromKey,
                        Object toKey)
Specified by:
subMap in interface SortedMap

firstKey

public Object firstKey()
Specified by:
firstKey in interface SortedMap

lastKey

public Object lastKey()
Specified by:
lastKey in interface SortedMap

headMap

public SortedMap headMap(Object toKey)
Specified by:
headMap in interface SortedMap

tailMap

public SortedMap tailMap(Object fromKey)
Specified by:
tailMap in interface SortedMap

comparator

public Comparator comparator()
Specified by:
comparator in interface SortedMap


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.