public class

LazyBSONObject.LazyBSONKeySet

extends Object
implements Set<E>
java.lang.Object
   ↳ org.bson.LazyBSONObject.LazyBSONKeySet

Summary

Public Constructors
LazyBSONObject.LazyBSONKeySet()
Public Methods
boolean add(E e)
boolean add(String e)
boolean addAll(Collection<? extends E> c)
void clear()
boolean contains(Object o)
boolean containsAll(Collection<?> collection)
boolean isEmpty()
Iterator<String> iterator()
boolean remove(Object o)
boolean removeAll(Collection<?> c)
boolean retainAll(Collection<?> c)
int size()
This method runs in time linear to the total size of all keys in the document.
<T> T[] toArray(T[] a)
String[] toArray()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Set

Public Constructors

public LazyBSONObject.LazyBSONKeySet ()

Public Methods

public boolean add (E e)

public boolean add (String e)

public boolean addAll (Collection<? extends E> c)

public void clear ()

public boolean contains (Object o)

public boolean containsAll (Collection<?> collection)

public boolean isEmpty ()

public Iterator<String> iterator ()

public boolean remove (Object o)

public boolean removeAll (Collection<?> c)

public boolean retainAll (Collection<?> c)

public int size ()

This method runs in time linear to the total size of all keys in the document.

Returns
  • the number of keys in the document

public T[] toArray (T[] a)

public String[] toArray ()