org.iternine.jeppetto.dao.mongodb.enhance
Class UpdateList

java.lang.Object
  extended by org.iternine.jeppetto.dao.mongodb.enhance.UpdateList
All Implemented Interfaces:
Iterable, Collection, List, UpdateObject

public class UpdateList
extends Object
implements List, UpdateObject


Constructor Summary
UpdateList()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

UpdateList

public UpdateList()
Method Detail

set

public Object set(int index,
                  Object element)
Specified by:
set in interface List

add

public boolean add(Object element)
Specified by:
add in interface Collection
Specified by:
add in interface List

addAll

public boolean addAll(Collection collection)
Specified by:
addAll in interface Collection
Specified by:
addAll in interface List

remove

public boolean remove(Object element)
Specified by:
remove in interface Collection
Specified by:
remove in interface List

removeAll

public boolean removeAll(Collection collection)
Specified by:
removeAll in interface Collection
Specified by:
removeAll in interface List

clear

public void clear()
Specified by:
clear in interface Collection
Specified by:
clear in interface List

add

public void add(int index,
                Object element)
Specified by:
add in interface List

addAll

public boolean addAll(int index,
                      Collection elements)
Specified by:
addAll in interface List

remove

public Object remove(int index)
Specified by:
remove in interface List

retainAll

public boolean retainAll(Collection collection)
Specified by:
retainAll in interface Collection
Specified by:
retainAll in interface List

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in interface List

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Specified by:
isEmpty in interface List

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection
Specified by:
contains in interface List

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in interface List

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection
Specified by:
toArray in interface List

toArray

public Object[] toArray(Object[] objects)
Specified by:
toArray in interface Collection
Specified by:
toArray in interface List

containsAll

public boolean containsAll(Collection objects)
Specified by:
containsAll in interface Collection
Specified by:
containsAll in interface List

get

public Object get(int index)
Specified by:
get in interface List

indexOf

public int indexOf(Object o)
Specified by:
indexOf in interface List

lastIndexOf

public int lastIndexOf(Object o)
Specified by:
lastIndexOf in interface List

listIterator

public ListIterator listIterator()
Specified by:
listIterator in interface List

listIterator

public ListIterator listIterator(int index)
Specified by:
listIterator in interface List

subList

public List subList(int fromIndex,
                    int toIndex)
Specified by:
subList in interface List

getUpdateClause

public com.mongodb.DBObject getUpdateClause()
Specified by:
getUpdateClause in interface UpdateObject

setPrefix

public void setPrefix(String prefix)
Specified by:
setPrefix in interface UpdateObject


Copyright © 2012. All Rights Reserved.