public class DatastoreResultsCollection<T> extends Object implements Collection<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> collection) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> collection) |
boolean |
equals(Object o) |
void |
forEach(Consumer<? super T> consumer) |
Cursor |
getCursor() |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
Stream<T> |
parallelStream() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeIf(Predicate<? super T> predicate) |
boolean |
retainAll(Collection<?> collection) |
int |
size() |
Spliterator<T> |
spliterator() |
Stream<T> |
stream() |
Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] t1s) |
String |
toString() |
public Cursor getCursor()
public int size()
size in interface Collection<T>public boolean isEmpty()
isEmpty in interface Collection<T>public boolean contains(Object o)
contains in interface Collection<T>public Object[] toArray()
toArray in interface Collection<T>public <T1> T1[] toArray(T1[] t1s)
toArray in interface Collection<T>public boolean add(T t)
add in interface Collection<T>public boolean remove(Object o)
remove in interface Collection<T>public boolean containsAll(Collection<?> collection)
containsAll in interface Collection<T>public boolean addAll(Collection<? extends T> collection)
addAll in interface Collection<T>public boolean removeAll(Collection<?> collection)
removeAll in interface Collection<T>public boolean removeIf(Predicate<? super T> predicate)
removeIf in interface Collection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>public void clear()
clear in interface Collection<T>public boolean equals(Object o)
equals in interface Collection<T>equals in class Objectpublic int hashCode()
hashCode in interface Collection<T>hashCode in class Objectpublic Spliterator<T> spliterator()
spliterator in interface Iterable<T>spliterator in interface Collection<T>public Stream<T> stream()
stream in interface Collection<T>public Stream<T> parallelStream()
parallelStream in interface Collection<T>Copyright © 2020 Pivotal Software, Inc.. All rights reserved.