public class UpdateList extends Object implements List, UpdateObject
| Constructor and Description |
|---|
UpdateList() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
__getUpdates() |
void |
add(int index,
Object element) |
boolean |
add(Object element) |
boolean |
addAll(Collection collection) |
boolean |
addAll(int index,
Collection elements) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection objects) |
Object |
get(int index) |
com.mongodb.DBObject |
getUpdateClause() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int index) |
Object |
remove(int index) |
boolean |
remove(Object element) |
boolean |
removeAll(Collection collection) |
boolean |
retainAll(Collection collection) |
Object |
set(int index,
Object element) |
void |
setPrefix(String prefix) |
int |
size() |
List |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
Object[] |
toArray(Object[] objects) |
public boolean add(Object element)
add in interface Collectionadd in interface Listpublic boolean addAll(Collection collection)
addAll in interface CollectionaddAll in interface Listpublic boolean remove(Object element)
remove in interface Collectionremove in interface Listpublic boolean removeAll(Collection collection)
removeAll in interface CollectionremoveAll in interface Listpublic void clear()
clear in interface Collectionclear in interface Listpublic boolean addAll(int index,
Collection elements)
public boolean retainAll(Collection collection)
retainAll in interface CollectionretainAll in interface Listpublic int size()
size in interface Collectionsize in interface Listpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface Listpublic boolean contains(Object o)
contains in interface Collectioncontains in interface Listpublic Iterator iterator()
public Object[] toArray()
toArray in interface CollectiontoArray in interface Listpublic Object[] toArray(Object[] objects)
toArray in interface CollectiontoArray in interface Listpublic boolean containsAll(Collection objects)
containsAll in interface CollectioncontainsAll in interface Listpublic int lastIndexOf(Object o)
lastIndexOf in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int index)
listIterator in interface Listpublic com.mongodb.DBObject getUpdateClause()
public void setPrefix(String prefix)
public Map<String,Object> __getUpdates()
__getUpdates in interface UpdateObjectCopyright © 2014. All Rights Reserved.