org.ckkloverdos.type.java
Class NameAndType
java.lang.Object
org.ckkloverdos.type.java.NameAndType
public class NameAndType
- extends java.lang.Object
A generic name
and type
placeholder.
- Author:
- Christos KK Loverdos
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NameAndType
public NameAndType(NameAndType nt)
NameAndType
public NameAndType(java.lang.String name,
JavaType type)
getName
public java.lang.String getName()
- Returns the name of this instance.
getType
public JavaType getType()
- Returns the
JavaType
of this instance.
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getDescription
public java.lang.String getDescription()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1999-2007 Christos KK Loverdos. All Rights Reserved.