public abstract class AbstractProvider extends java.lang.Object implements Provider
Provider
interface covering provider name and equivalence.Modifier | Constructor and Description |
---|---|
protected |
AbstractProvider()
Constructor for use by subclasses.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares the specified object with this provider for equality.
|
java.lang.String |
getName()
Returns provider name.
|
int |
hashCode()
Returns the hash code value for this provider.
|
java.lang.String |
toString()
Converts provider to string consisting of its name.
|
public final boolean equals(@Nullable java.lang.Object o)
true
if the specified object is also provider
and the two providers have the same name. This definition ensures
that this method works properly across different implementations
of the provider interface.public final int hashCode()
public final java.lang.String toString()
toString
in class java.lang.Object