public class InstanceOfMatcher extends Object implements CredentialsMatcher
| Constructor and Description |
|---|
InstanceOfMatcher(Class clazz)
Constructs a new instance.
|
public InstanceOfMatcher(@NonNull
Class clazz)
clazz - the type that credentials must implement.public boolean matches(@NonNull
Credentials item)
matches in interface CredentialsMatcheritem - the specified credentials.true if and only if the specified credentials match.Copyright © 2004-2014. All Rights Reserved.