private int createId() { //TODO: This should be Java's hashCode(), since all other data types use it, and using something else here will probably lead to collisions return getName().toLowerCase().hashCode(); }
private int createId() { //TODO: This should be Java's hashCode(), since all other data types use it, and using something else here will probably lead to collisions return getName().toLowerCase().hashCode(); }