Add a hashCode function for ComputerDetails

This commit is contained in:
Cameron Gutman 2014-11-02 14:22:03 -08:00
parent 77a587abe8
commit ae79f03e61

View File

@ -52,6 +52,11 @@ public class ComputerDetails {
return false;
}
@Override
public int hashCode() {
return localIp.hashCode();
}
@Override
public String toString() {
StringBuilder str = new StringBuilder();