public class SearchResultList<T> extends Object implements List<T>, Cloneable, Serializable, ShortDumpable
Constructor and Description |
---|
SearchResultList() |
SearchResultList(List<T> list) |
SearchResultList(List<T> list,
SearchResultMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
SearchResultList<T> |
clone() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
T |
get(int index) |
List<T> |
getList() |
SearchResultMetadata |
getMetadata() |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
void |
setList(List<T> list) |
void |
setMetadata(SearchResultMetadata metadata) |
void |
shortDump(StringBuilder sb)
Show the content of the object intended for diagnostics.
|
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<TT> TT[] |
toArray(TT[] a) |
String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, wait
replaceAll, sort, spliterator
parallelStream, removeIf, stream
shortDump, shortDumpLazily
public SearchResultList()
public SearchResultList(List<T> list, SearchResultMetadata metadata)
public SearchResultMetadata getMetadata()
public void setMetadata(SearchResultMetadata metadata)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
@NotNull public Object[] toArray()
@NotNull public <TT> TT[] toArray(@NotNull TT[] a)
public boolean add(T e)
public boolean remove(Object o)
public boolean containsAll(@NotNull Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
public boolean addAll(@NotNull Collection<? extends T> c)
public boolean addAll(int index, @NotNull Collection<? extends T> c)
public boolean removeAll(@NotNull Collection<?> c)
public boolean retainAll(@NotNull Collection<?> c)
public void clear()
public int lastIndexOf(Object o)
lastIndexOf
in interface List<T>
@NotNull public ListIterator<T> listIterator()
listIterator
in interface List<T>
@NotNull public ListIterator<T> listIterator(int index)
listIterator
in interface List<T>
public int hashCode()
public boolean equals(Object obj)
public SearchResultList<T> clone()
public void shortDump(StringBuilder sb)
ShortDumpable
shortDump
in interface ShortDumpable
sb
- StringBuilder to which to a compact one-line content of the object intended
for diagnostics by system administrator should be appended.Copyright © 2019 Evolveum. All rights reserved.