Package com.evolveum.midpoint.schema
Class SearchResultList<T>
- java.lang.Object
-
- com.evolveum.midpoint.schema.SearchResultList<T>
-
- All Implemented Interfaces:
ShortDumpable,Serializable,Cloneable,Iterable<T>,Collection<T>,List<T>
public class SearchResultList<T> extends Object implements List<T>, Cloneable, Serializable, ShortDumpable
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchResultList()SearchResultList(List<T> list)SearchResultList(List<T> list, SearchResultMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index, T element)booleanadd(T e)booleanaddAll(int index, Collection<? extends T> c)booleanaddAll(Collection<? extends T> c)voidclear()SearchResultList<T>clone()booleancontains(Object o)booleancontainsAll(Collection<?> c)booleanequals(Object obj)Tget(int index)List<T>getList()SearchResultMetadatagetMetadata()inthashCode()intindexOf(Object o)booleanisEmpty()Iterator<T>iterator()intlastIndexOf(Object o)ListIterator<T>listIterator()ListIterator<T>listIterator(int index)Tremove(int index)booleanremove(Object o)booleanremoveAll(Collection<?> c)booleanretainAll(Collection<?> c)Tset(int index, T element)voidsetList(List<T> list)voidsetMetadata(SearchResultMetadata metadata)voidshortDump(StringBuilder sb)Show the content of the object intended for diagnostics.intsize()List<T>subList(int fromIndex, int toIndex)Object[]toArray()<TT> TT[]toArray(TT[] a)StringtoString()-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
-
-
-
Constructor Detail
-
SearchResultList
public SearchResultList()
-
SearchResultList
public SearchResultList(List<T> list, SearchResultMetadata metadata)
-
-
Method Detail
-
getMetadata
public SearchResultMetadata getMetadata()
-
setMetadata
public void setMetadata(SearchResultMetadata metadata)
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
contains
public boolean contains(Object o)
-
toArray
@NotNull public Object[] toArray()
-
toArray
@NotNull public <TT> TT[] toArray(@NotNull TT[] a)
-
add
public boolean add(T e)
-
remove
public boolean remove(Object o)
-
containsAll
public boolean containsAll(@NotNull Collection<?> c)- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>
-
addAll
public boolean addAll(@NotNull Collection<? extends T> c)
-
addAll
public boolean addAll(int index, @NotNull Collection<? extends T> c)
-
removeAll
public boolean removeAll(@NotNull Collection<?> c)
-
retainAll
public boolean retainAll(@NotNull Collection<?> c)
-
clear
public void clear()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOfin interfaceList<T>
-
listIterator
@NotNull public ListIterator<T> listIterator()
- Specified by:
listIteratorin interfaceList<T>
-
listIterator
@NotNull public ListIterator<T> listIterator(int index)
- Specified by:
listIteratorin interfaceList<T>
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
clone
public SearchResultList<T> clone()
-
shortDump
public void shortDump(StringBuilder sb)
Description copied from interface:ShortDumpableShow the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDumpin interfaceShortDumpable- Parameters:
sb- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
-