Here\'s something that bothers me regarding Interfaces and classes.
I\'m trying to do an implemataion for an interface called IPAddress by a class named IPAddressString.
A simple public class IPAddressString implements IPAddress will solve the problem.
Another suggestion that jumped to my eye:
It doesn't make any sense to declare the equals and toString() method in the interface because every object already has them. You wouldn't get a compile error if you didn't implement it.
Furthermore, the equals method must always have the signature boolean equals(Object other), because only then it overrides the method of Object and will be called correctly at all time.