Class IdentityResult
java.lang.Object
org.exoplatform.social.core.identity.IdentityResult
- All Implemented Interfaces:
Iterable<Identity>,Collection<Identity>
-
Constructor Summary
ConstructorsConstructorDescriptionIdentityResult(long totalSize) Constructor with total size for counterIdentityResult(long offset, long limit, long totalSize) Constructor with offset and limit -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Identity> c) booleanaddMore()Add more element into List or notvoidclear()booleanbooleancontainsAll(Collection<?> c) longgetLimit()longbooleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) result()booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
IdentityResult
public IdentityResult(long offset, long limit, long totalSize) Constructor with offset and limit- Parameters:
offset-limit-totalSize- total size of nodes matched filter.
-
IdentityResult
public IdentityResult(long totalSize) Constructor with total size for counter- Parameters:
totalSize- total size of nodes matched filter.
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<Identity>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Identity>
-
contains
- Specified by:
containsin interfaceCollection<Identity>
-
addMore
public boolean addMore()Add more element into List or not- Returns:
-
getOffset
public long getOffset() -
getLimit
public long getLimit() -
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<Identity>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<Identity>
-
add
- Specified by:
addin interfaceCollection<Identity>
-
result
-
remove
- Specified by:
removein interfaceCollection<Identity>
-
containsAll
- Specified by:
containsAllin interfaceCollection<Identity>
-
addAll
- Specified by:
addAllin interfaceCollection<Identity>
-
removeAll
- Specified by:
removeAllin interfaceCollection<Identity>
-
retainAll
- Specified by:
retainAllin interfaceCollection<Identity>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Identity>
-