E - The class of objects in this listpublic class RealmList<E extends RealmObject>
extends java.util.AbstractList<E>
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
add(E object) | 
void | 
add(int location,
   E object) | 
void | 
clear() | 
E | 
first()
Find the first object. 
 | 
E | 
get(int i) | 
E | 
last()
Find the last object. 
 | 
void | 
move(int oldPos,
    int newPos)
Moves an object from one position to another 
 | 
E | 
remove(int location) | 
E | 
set(int location,
   E object) | 
int | 
size() | 
java.lang.String | 
toString()  | 
RealmQuery<E> | 
where()
Returns a RealmQuery, which can be used to query for specific objects of this class 
 | 
addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArraypublic void add(int location,
       E object)
add in interface java.util.List<E extends RealmObject>add in class java.util.AbstractList<E extends RealmObject>public boolean add(E object)
add in interface java.util.Collection<E extends RealmObject>add in interface java.util.List<E extends RealmObject>add in class java.util.AbstractList<E extends RealmObject>public E set(int location, E object)
set in interface java.util.List<E extends RealmObject>set in class java.util.AbstractList<E extends RealmObject>public void move(int oldPos,
        int newPos)
oldPos - newPos - public void clear()
clear in interface java.util.Collection<E extends RealmObject>clear in interface java.util.List<E extends RealmObject>clear in class java.util.AbstractList<E extends RealmObject>public E remove(int location)
remove in interface java.util.List<E extends RealmObject>remove in class java.util.AbstractList<E extends RealmObject>public E get(int i)
get in interface java.util.List<E extends RealmObject>get in class java.util.AbstractList<E extends RealmObject>public E first()
public E last()
public int size()
size in interface java.util.Collection<E extends RealmObject>size in interface java.util.List<E extends RealmObject>size in class java.util.AbstractCollection<E extends RealmObject>public RealmQuery<E> where()
RealmQuerypublic java.lang.String toString()
toString in class java.util.AbstractCollection<E extends RealmObject>