public class SearchResults<T> extends AbstractModel implements java.util.List<T>
properties| Constructor and Description |
|---|
SearchResults() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int location,
T object) |
boolean |
add(T object) |
boolean |
addAll(java.util.Collection<? extends T> collection) |
boolean |
addAll(int location,
java.util.Collection<? extends T> collection) |
void |
clear() |
boolean |
contains(java.lang.Object object) |
boolean |
containsAll(java.util.Collection<?> collection) |
T |
get(int location) |
java.util.List<T> |
getResults() |
java.lang.Integer |
getTotal() |
int |
indexOf(java.lang.Object object) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
int |
lastIndexOf(java.lang.Object object) |
java.util.ListIterator<T> |
listIterator() |
java.util.ListIterator<T> |
listIterator(int location) |
T |
remove(int location) |
boolean |
remove(java.lang.Object object) |
boolean |
removeAll(java.util.Collection<?> collection) |
boolean |
retainAll(java.util.Collection<?> collection) |
T |
set(int location,
T object) |
void |
setResults(java.util.List<T> results) |
void |
setTotal(java.lang.Integer total) |
int |
size() |
java.util.List<T> |
subList(int start,
int end) |
java.lang.Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] array) |
get, getBoolean, getInteger, getString, getUuid, setPropertiespublic java.lang.Integer getTotal()
public void setTotal(java.lang.Integer total)
total - The totalpublic java.util.List<T> getResults()
public void setResults(java.util.List<T> results)
results - The resultspublic boolean add(T object)
public boolean addAll(int location,
java.util.Collection<? extends T> collection)
addAll in interface java.util.List<T>public boolean addAll(java.util.Collection<? extends T> collection)
public void clear()
public boolean contains(java.lang.Object object)
public boolean containsAll(java.util.Collection<?> collection)
public int indexOf(java.lang.Object object)
indexOf in interface java.util.List<T>public boolean isEmpty()
public java.util.Iterator<T> iterator()
public int lastIndexOf(java.lang.Object object)
lastIndexOf in interface java.util.List<T>public java.util.ListIterator<T> listIterator()
listIterator in interface java.util.List<T>public java.util.ListIterator<T> listIterator(int location)
listIterator in interface java.util.List<T>public boolean remove(java.lang.Object object)
public boolean removeAll(java.util.Collection<?> collection)
public boolean retainAll(java.util.Collection<?> collection)
public int size()
public java.util.List<T> subList(int start, int end)
subList in interface java.util.List<T>public java.lang.Object[] toArray()