This interface defines a set of methods that may be safely called in an LDAP
compare request without altering its contents. This interface must not be
implemented by any class other than CompareRequest.
This interface does not inherently provide the assurance of thread safety for
the methods that it exposes, because it is still possible for a thread
referencing the object which implements this interface to alter the request
using methods not included in this interface. However, if it can be
guaranteed that no thread will alter the underlying object, then the methods
exposed by this interface can be safely invoked concurrently by any number of
Creates a new instance of this LDAP request that may be modified without
impacting this request. The provided controls will be used for the new
request instead of duplicating the controls from this request.