Merge pull request #508 from CruzBishop/fix-431
Added a function to get a UniqueName's ID
This commit is contained in:
commit
ad534efc58
@ -55,6 +55,10 @@ public class UniqueName implements Comparable<UniqueName> {
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final int id() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final int hashCode() {
|
public final int hashCode() {
|
||||||
return super.hashCode();
|
return super.hashCode();
|
||||||
|
Loading…
Reference in New Issue
Block a user