org.javalite.activejdbc
Class CaseInsensitiveSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.TreeSet<String>
              extended by org.javalite.activejdbc.CaseInsensitiveSet
All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Collection<String>, NavigableSet<String>, Set<String>, SortedSet<String>

public class CaseInsensitiveSet
extends TreeSet<String>

A case insensitive set for java.lang.String elements. The current implementation is based on TreeSet, so it does not accept null keys and keeps entries ordered by case insensitive alphabetical order of keys.

Author:
Eric Nielsen
See Also:
Serialized Form

Constructor Summary
CaseInsensitiveSet()
           
CaseInsensitiveSet(Collection<? extends String> c)
           
 
Method Summary
 
Methods inherited from class java.util.TreeSet
add, addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, size, subSet, subSet, tailSet, tailSet
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
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, removeAll, retainAll, toArray, toArray
 

Constructor Detail

CaseInsensitiveSet

public CaseInsensitiveSet()

CaseInsensitiveSet

public CaseInsensitiveSet(Collection<? extends String> c)


Copyright © 2015 JavaLite. All rights reserved.