org.bson
Class LazyBSONObject.LazyBSONKeySet

java.lang.Object
  extended by org.bson.LazyBSONObject.LazyBSONKeySet
All Implemented Interfaces:
Iterable<String>, Collection<String>, Set<String>
Enclosing class:
LazyBSONObject

public class LazyBSONObject.LazyBSONKeySet
extends Object
implements Set<String>


Constructor Summary
LazyBSONObject.LazyBSONKeySet()
           
 
Method Summary
 boolean add(String e)
           
 boolean addAll(Collection<? extends String> clctn)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection<?> clctn)
           
 boolean isEmpty()
           
 Iterator<String> iterator()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> clctn)
           
 boolean retainAll(Collection<?> clctn)
           
 int size()
           
 Object[] toArray()
           
<T> T[]
toArray(T[] ts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode
 

Constructor Detail

LazyBSONObject.LazyBSONKeySet

public LazyBSONObject.LazyBSONKeySet()
Method Detail

size

public int size()
Specified by:
size in interface Collection<String>
Specified by:
size in interface Set<String>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<String>
Specified by:
isEmpty in interface Set<String>

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<String>
Specified by:
contains in interface Set<String>

iterator

public Iterator<String> iterator()
Specified by:
iterator in interface Iterable<String>
Specified by:
iterator in interface Collection<String>
Specified by:
iterator in interface Set<String>

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<String>
Specified by:
toArray in interface Set<String>

toArray

public <T> T[] toArray(T[] ts)
Specified by:
toArray in interface Collection<String>
Specified by:
toArray in interface Set<String>

add

public boolean add(String e)
Specified by:
add in interface Collection<String>
Specified by:
add in interface Set<String>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<String>
Specified by:
remove in interface Set<String>

containsAll

public boolean containsAll(Collection<?> clctn)
Specified by:
containsAll in interface Collection<String>
Specified by:
containsAll in interface Set<String>

addAll

public boolean addAll(Collection<? extends String> clctn)
Specified by:
addAll in interface Collection<String>
Specified by:
addAll in interface Set<String>

retainAll

public boolean retainAll(Collection<?> clctn)
Specified by:
retainAll in interface Collection<String>
Specified by:
retainAll in interface Set<String>

removeAll

public boolean removeAll(Collection<?> clctn)
Specified by:
removeAll in interface Collection<String>
Specified by:
removeAll in interface Set<String>

clear

public void clear()
Specified by:
clear in interface Collection<String>
Specified by:
clear in interface Set<String>