jrun.jms.core.messagemgr.storage
Class HybridSortedSet

java.lang.Object
  |
  +--jrun.jms.core.messagemgr.storage.AbstractSortedSet
        |
        +--jrun.jms.core.messagemgr.storage.HybridSortedSet
All Implemented Interfaces:
java.util.Collection, RestrictedSortedSet, java.util.Set, java.util.SortedSet

public class HybridSortedSet
extends jrun.jms.core.messagemgr.storage.AbstractSortedSet
implements RestrictedSortedSet


Constructor Summary
HybridSortedSet(java.util.Comparator comparator)
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 boolean addAll(java.util.Collection c)
           
 void clear()
           
 java.util.Comparator comparator()
           
 boolean contains(java.lang.Object o)
           
 boolean containsAll(java.util.Collection c)
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object first()
           
 int hashCode()
           
 java.util.SortedSet headSet(java.lang.Object toElement)
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 java.lang.Object last()
           
 boolean remove(java.lang.Object o)
           
 boolean removeAll(java.util.Collection c)
           
 boolean retainAll(java.util.Collection c)
           
 int size()
           
 java.util.SortedSet subSet(java.lang.Object fromElmt, java.lang.Object toElmt)
           
 java.util.SortedSet tailSet(java.lang.Object fromElement)
           
 java.lang.Object[] toArray()
           
 java.lang.Object[] toArray(java.lang.Object[] a)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HybridSortedSet

public HybridSortedSet(java.util.Comparator comparator)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

add

public boolean add(java.lang.Object o)
Specified by:
add in interface RestrictedSortedSet
Overrides:
add in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

clear

public void clear()
Specified by:
clear in interface RestrictedSortedSet
Overrides:
clear in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

contains

public boolean contains(java.lang.Object o)
Specified by:
contains in interface RestrictedSortedSet
Overrides:
contains in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

comparator

public java.util.Comparator comparator()
Specified by:
comparator in interface RestrictedSortedSet
Overrides:
comparator in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface RestrictedSortedSet
Overrides:
equals in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

first

public java.lang.Object first()
Specified by:
first in interface RestrictedSortedSet
Overrides:
first in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

hashCode

public int hashCode()
Specified by:
hashCode in interface RestrictedSortedSet
Overrides:
hashCode in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface RestrictedSortedSet
Overrides:
isEmpty in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

remove

public boolean remove(java.lang.Object o)
Specified by:
remove in interface RestrictedSortedSet
Overrides:
remove in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

size

public int size()
Specified by:
size in interface RestrictedSortedSet
Overrides:
size in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface RestrictedSortedSet
Overrides:
iterator in class jrun.jms.core.messagemgr.storage.AbstractSortedSet

addAll

public boolean addAll(java.util.Collection c)
Specified by:
addAll in interface java.util.Set

containsAll

public boolean containsAll(java.util.Collection c)
Specified by:
containsAll in interface java.util.Set

removeAll

public boolean removeAll(java.util.Collection c)
Specified by:
removeAll in interface java.util.Set

retainAll

public boolean retainAll(java.util.Collection c)
Specified by:
retainAll in interface java.util.Set

toArray

public java.lang.Object[] toArray()
Specified by:
toArray in interface java.util.Set

toArray

public java.lang.Object[] toArray(java.lang.Object[] a)
Specified by:
toArray in interface java.util.Set

headSet

public java.util.SortedSet headSet(java.lang.Object toElement)
Specified by:
headSet in interface java.util.SortedSet

last

public java.lang.Object last()
Specified by:
last in interface java.util.SortedSet

subSet

public java.util.SortedSet subSet(java.lang.Object fromElmt,
                                  java.lang.Object toElmt)
Specified by:
subSet in interface java.util.SortedSet

tailSet

public java.util.SortedSet tailSet(java.lang.Object fromElement)
Specified by:
tailSet in interface java.util.SortedSet


Copyright � 2002 Macromedia Corporation. All Rights Reserved.