TValue
- The type of the values that are returned by the IDataProvider
registered with this class.public class DpKeyBase<TValue> extends Object
IDataProvider
with a Graph
.Constructor and Description |
---|
DpKeyBase(Class declaringType,
String name)
Initializes a new instance of the
DpKeyBase class. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
equals(DpKeyBase<TValue> other)
Returns whether this key is equal to the specified
other . |
boolean |
equals(Object obj)
Determines whether the specified
Object is equal to this instance. |
Class |
getDeclaringType()
Gets the type that declares this key.
|
String |
getName()
Gets the name of this key.
|
int |
hashCode()
Returns a hash code for this instance.
|
protected final boolean equals(DpKeyBase<TValue> other)
other
.other
- The other key to compare with this instance.true
if the specified key is equal to this instance; otherwise, false
.public boolean equals(Object obj)
Object
is equal to this instance.public final Class getDeclaringType()
public final String getName()