public class NameClassPair extends Object implements Serializable
Constructor and Description |
---|
NameClassPair(String aName,
String aClassName)
Creates a new
NameClassPair with the specified name and class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object aObj)
Determines if two NameClassPairs are equal.
|
String |
getClassName()
Gets the class name of the attribute's value.
|
String |
getName()
Gets the name of the attribute.
|
int |
hashCode()
Gets the hash code for this object.
|
String |
toString()
Gets string representation of this object; useful for debugging.
|
public String getName()
public String getClassName()
public boolean equals(Object aObj)
public int hashCode()
x
and
y
must be equal if x.equals(y)
returns true;Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.