org.pf.directory.ldap
Class LDAPSearchResult
java.lang.Object
org.pf.osf.ObjectContainer
org.pf.osf.ObjectSearchResult
org.pf.directory.ldap.LDAPSearchResult
public class LDAPSearchResult
- extends ObjectSearchResult
Apart from returning the found object a search result can contain
information if the size limit has been reached.
- Version:
- 1.0
- Author:
- Manfred Duchrow
|
Constructor Summary |
LDAPSearchResult()
Initialize the new instance with no size limit. |
LDAPSearchResult(int initialCapacity)
Initialize the new instance with an initial size. |
LDAPSearchResult(int initialCapacity,
int maximumSize)
Initialize the new instance with an initial size and a maximum size. |
| Methods inherited from class org.pf.osf.ObjectContainer |
asArray, asList, contains, containsEqualObject, copy, find, find, find, find, find, find, findFirst, findFirst, findFirst, findFirstIgnoreCase, findIgnoreCase, get, isEmpty, removeEqual, set, size |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LDAPSearchResult
public LDAPSearchResult()
- Initialize the new instance with no size limit.
LDAPSearchResult
public LDAPSearchResult(int initialCapacity)
- Initialize the new instance with an initial size.
- Parameters:
initialCapacity - Initial size reserved for elements
LDAPSearchResult
public LDAPSearchResult(int initialCapacity,
int maximumSize)
- Initialize the new instance with an initial size and a maximum size.
If the given initial size is greater than the maximum size, then the
maximum size will be used as initial size too.
- Parameters:
initialCapacity - Initial size reserved for elements
getFoundObjects
public LDAPDirEntry[] getFoundObjects()
- Returns an array containing all found objects.