com.partnersoft.v3x.data
Class CaseInsensitiveTreeSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.TreeSet
              extended by com.partnersoft.v3x.data.CaseInsensitiveTreeSet
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set, java.util.SortedSet

public class CaseInsensitiveTreeSet
extends java.util.TreeSet

A TreeSet whose keys are strings and that is case-insensitive.

See Also:
Serialized Form

Constructor Summary
CaseInsensitiveTreeSet()
           
CaseInsensitiveTreeSet(java.util.Collection nother)
           
 
Method Summary
static java.util.Set ensureInsensitive(java.util.Set original)
           
 boolean removeAll(java.util.Collection nother)
          Kludged to make it work properly.
 
Methods inherited from class java.util.TreeSet
add, addAll, clear, clone, comparator, contains, first, headSet, isEmpty, iterator, last, remove, size, subSet, tailSet
 
Methods inherited from class java.util.AbstractSet
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, retainAll, toArray, toArray
 

Constructor Detail

CaseInsensitiveTreeSet

public CaseInsensitiveTreeSet()

CaseInsensitiveTreeSet

public CaseInsensitiveTreeSet(java.util.Collection nother)
Method Detail

removeAll

public boolean removeAll(java.util.Collection nother)
Kludged to make it work properly.

Specified by:
removeAll in interface java.util.Collection
Specified by:
removeAll in interface java.util.Set
Overrides:
removeAll in class java.util.AbstractSet

ensureInsensitive

public static java.util.Set ensureInsensitive(java.util.Set original)