Back to project page ConnectedSpace.
The source code is released under:
Copyright (c) 2015, Shreyas Raman <skraman1999@gmail.com>.
If you think the Android project ConnectedSpace listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package me.shreyasr.connected.android.util; //from w w w . java 2s . c o m public class Client { public final String ip; private final String status; public Client(String ip, String status) { this.ip = ip; this.status = status; } @Override public boolean equals(Object other) { if (other == null || !(other instanceof Client)) return false; Client client = (Client) other; return ip.equals(client.ip); } }