public class

PersistentSortedMap

extends PersistentMap
implements SortedMap<K, V>
java.lang.Object
   ↳ org.hibernate.collection.AbstractPersistentCollection
     ↳ org.hibernate.collection.PersistentMap
       ↳ org.hibernate.collection.PersistentSortedMap

Class Overview

A persistent wrapper for a java.util.SortedMap. Underlying collection is a TreeMap.

See Also
  • java.util.TreeMap

Summary

Fields
protected Comparator comparator
[Expand]
Inherited Fields
From class org.hibernate.collection.PersistentMap
From class org.hibernate.collection.AbstractPersistentCollection
Public Constructors
PersistentSortedMap(SessionImplementor session)
PersistentSortedMap(SessionImplementor session, SortedMap map)
PersistentSortedMap()
Public Methods
Comparator comparator()
Object firstKey()
SortedMap headMap(Object toKey)
Object lastKey()
void setComparator(Comparator comparator)
SortedMap subMap(Object fromKey, Object toKey)
SortedMap tailMap(Object fromKey)
Protected Methods
Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode)
[Expand]
Inherited Methods
From class org.hibernate.collection.PersistentMap
From class org.hibernate.collection.AbstractPersistentCollection
From class java.lang.Object
From interface java.util.Map
From interface java.util.SortedMap
From interface org.hibernate.collection.PersistentCollection

Fields

protected Comparator comparator

Public Constructors

public PersistentSortedMap (SessionImplementor session)

public PersistentSortedMap (SessionImplementor session, SortedMap map)

public PersistentSortedMap ()

Public Methods

public Comparator comparator ()

See Also

public Object firstKey ()

See Also

public SortedMap headMap (Object toKey)

See Also

public Object lastKey ()

See Also

public void setComparator (Comparator comparator)

public SortedMap subMap (Object fromKey, Object toKey)

public SortedMap tailMap (Object fromKey)

See Also

Protected Methods

protected Serializable snapshot (BasicCollectionPersister persister, EntityMode entityMode)