public class AnswerSearchResult extends Object implements Collection<ObjectSearchResult>
| Constructor and Description |
|---|
AnswerSearchResult(long offset,
long limit,
long totalSize)
Constructor with offset and limit
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(ObjectSearchResult e) |
boolean |
addAll(Collection<? extends ObjectSearchResult> c) |
boolean |
addMore()
Add more element into List or not
|
void |
clear() |
boolean |
contains(Object o) |
boolean |
contains(String id)
Checks the id whether is existing or not in result list.
|
boolean |
containsAll(Collection<?> c) |
long |
getLimit() |
long |
getOffset() |
boolean |
isEmpty() |
Iterator<ObjectSearchResult> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
List<ObjectSearchResult> |
result() |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic AnswerSearchResult(long offset,
long limit,
long totalSize)
offset - limit - totalSize - total size of nodes matched filter.public int size()
size in interface Collection<ObjectSearchResult>public boolean isEmpty()
isEmpty in interface Collection<ObjectSearchResult>public boolean contains(Object o)
contains in interface Collection<ObjectSearchResult>public boolean contains(String id)
id - specified idpublic boolean addMore()
public long getOffset()
public long getLimit()
public Iterator<ObjectSearchResult> iterator()
iterator in interface Iterable<ObjectSearchResult>iterator in interface Collection<ObjectSearchResult>public Object[] toArray()
toArray in interface Collection<ObjectSearchResult>public <T> T[] toArray(T[] a)
toArray in interface Collection<ObjectSearchResult>public boolean add(ObjectSearchResult e)
add in interface Collection<ObjectSearchResult>public List<ObjectSearchResult> result()
public boolean remove(Object o)
remove in interface Collection<ObjectSearchResult>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<ObjectSearchResult>public boolean addAll(Collection<? extends ObjectSearchResult> c)
addAll in interface Collection<ObjectSearchResult>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<ObjectSearchResult>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<ObjectSearchResult>public void clear()
clear in interface Collection<ObjectSearchResult>Copyright © 2003–2017 eXo Platform SAS. All rights reserved.