public class

PersistentSortedSet

extends PersistentSet
implements SortedSet<E>
java.lang.Object
   ↳ org.hibernate.collection.AbstractPersistentCollection
     ↳ org.hibernate.collection.PersistentSet
       ↳ org.hibernate.collection.PersistentSortedSet

Class Overview

A persistent wrapper for a java.util.SortedSet. Underlying collection is a TreeSet.

See Also
  • java.util.TreeSet

Summary

Fields
protected Comparator comparator
[Expand]
Inherited Fields
From class org.hibernate.collection.PersistentSet
From class org.hibernate.collection.AbstractPersistentCollection
Public Constructors
PersistentSortedSet(SessionImplementor session)
PersistentSortedSet(SessionImplementor session, SortedSet set)
PersistentSortedSet()
Public Methods
Comparator comparator()
Object first()
SortedSet headSet(Object toElement)
Object last()
void setComparator(Comparator comparator)
SortedSet subSet(Object fromElement, Object toElement)
SortedSet tailSet(Object fromElement)
Protected Methods
Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode)
[Expand]
Inherited Methods
From class org.hibernate.collection.PersistentSet
From class org.hibernate.collection.AbstractPersistentCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Set
From interface java.util.SortedSet
From interface org.hibernate.collection.PersistentCollection

Fields

protected Comparator comparator

Public Constructors

public PersistentSortedSet (SessionImplementor session)

public PersistentSortedSet (SessionImplementor session, SortedSet set)

public PersistentSortedSet ()

Public Methods

public Comparator comparator ()

See Also

public Object first ()

See Also

public SortedSet headSet (Object toElement)

See Also

public Object last ()

See Also

public void setComparator (Comparator comparator)

public SortedSet subSet (Object fromElement, Object toElement)

public SortedSet tailSet (Object fromElement)

See Also

Protected Methods

protected Serializable snapshot (BasicCollectionPersister persister, EntityMode entityMode)