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 void
add(int index, T element)
boolean
add(T e)
boolean
addAll(int index, Collection<? extends T> c)
boolean
addAll(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()
-
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:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in 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:
lastIndexOf
in interfaceList<T>
-
listIterator
@NotNull public ListIterator<T> listIterator()
- Specified by:
listIterator
in interfaceList<T>
-
listIterator
@NotNull public ListIterator<T> listIterator(int index)
- Specified by:
listIterator
in 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:ShortDumpable
Show 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:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
-