info.rolandkrueger.roklib.util
Class TernarySearchTreeMap.TSTKeySet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<CharSequence>
          extended by info.rolandkrueger.roklib.util.TernarySearchTreeMap.TSTKeySet
All Implemented Interfaces:
Serializable, Iterable<CharSequence>, Collection<CharSequence>, Set<CharSequence>
Direct Known Subclasses:
TernarySearchTreeMapCaseInsensitive.TSTKeySetCaseInsensitive
Enclosing class:
TernarySearchTreeMap<V>

 class TernarySearchTreeMap.TSTKeySet
extends AbstractSet<CharSequence>
implements Set<CharSequence>, Serializable


Field Summary
private  CharSequence mExclusiveToKey
           
private  CharSequence mFromKey
           
private static long serialVersionUID
           
 
Constructor Summary
TernarySearchTreeMap.TSTKeySet()
           
TernarySearchTreeMap.TSTKeySet(CharSequence fromKey, CharSequence toKey)
           
 
Method Summary
 boolean add(CharSequence o)
           
 boolean addAll(Collection<? extends CharSequence> c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection<?> c)
           
 boolean isEmpty()
           
 Iterator<CharSequence> iterator()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
 boolean retainAll(Collection<?> c)
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode, toArray, toArray
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

mFromKey

private CharSequence mFromKey

mExclusiveToKey

private CharSequence mExclusiveToKey
Constructor Detail

TernarySearchTreeMap.TSTKeySet

public TernarySearchTreeMap.TSTKeySet()

TernarySearchTreeMap.TSTKeySet

public TernarySearchTreeMap.TSTKeySet(CharSequence fromKey,
                                      CharSequence toKey)
Method Detail

add

public boolean add(CharSequence o)
Specified by:
add in interface Collection<CharSequence>
Specified by:
add in interface Set<CharSequence>
Overrides:
add in class AbstractCollection<CharSequence>

addAll

public boolean addAll(Collection<? extends CharSequence> c)
Specified by:
addAll in interface Collection<CharSequence>
Specified by:
addAll in interface Set<CharSequence>
Overrides:
addAll in class AbstractCollection<CharSequence>

clear

public void clear()
Specified by:
clear in interface Collection<CharSequence>
Specified by:
clear in interface Set<CharSequence>
Overrides:
clear in class AbstractCollection<CharSequence>

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<CharSequence>
Specified by:
contains in interface Set<CharSequence>
Overrides:
contains in class AbstractCollection<CharSequence>

containsAll

public boolean containsAll(Collection<?> c)
Specified by:
containsAll in interface Collection<CharSequence>
Specified by:
containsAll in interface Set<CharSequence>
Overrides:
containsAll in class AbstractCollection<CharSequence>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<CharSequence>
Specified by:
isEmpty in interface Set<CharSequence>
Overrides:
isEmpty in class AbstractCollection<CharSequence>

iterator

public Iterator<CharSequence> iterator()
Specified by:
iterator in interface Iterable<CharSequence>
Specified by:
iterator in interface Collection<CharSequence>
Specified by:
iterator in interface Set<CharSequence>
Specified by:
iterator in class AbstractCollection<CharSequence>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<CharSequence>
Specified by:
remove in interface Set<CharSequence>
Overrides:
remove in class AbstractCollection<CharSequence>

removeAll

public boolean removeAll(Collection<?> c)
Specified by:
removeAll in interface Collection<CharSequence>
Specified by:
removeAll in interface Set<CharSequence>
Overrides:
removeAll in class AbstractSet<CharSequence>

retainAll

public boolean retainAll(Collection<?> c)
Specified by:
retainAll in interface Collection<CharSequence>
Specified by:
retainAll in interface Set<CharSequence>
Overrides:
retainAll in class AbstractCollection<CharSequence>

size

public int size()
Specified by:
size in interface Collection<CharSequence>
Specified by:
size in interface Set<CharSequence>
Specified by:
size in class AbstractCollection<CharSequence>


Copyright © 2007-2011. All Rights Reserved.