Added a function to get a UniqueName's ID

This fixes #431

Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com>
This commit is contained in:
Cruz Julian Bishop 2012-08-14 15:44:05 +10:00
parent b5aa2108ec
commit 8d90f3adf6

View File

@ -55,6 +55,10 @@ public class UniqueName implements Comparable<UniqueName> {
return name;
}
public final int id() {
return id;
}
@Override
public final int hashCode() {
return super.hashCode();