Code example for ImmutableSet

Methods: equals

0
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
 
            Deadlock deadlock = (Deadlock) o;
 
            if (memberIds != null ? !memberIds.equals(deadlock.memberIds) : deadlock.memberIds != null) return false;
 
            return true; 
        } 
 
        @Override 
        public int hashCode() { 
            int result = members != null ? Arrays.hashCode(members) : 0;
            result = 31 * result + (description != null ? description.hashCode() : 0);
            result = 31 * result + (memberIds != null ? memberIds.hashCode() : 0);
            return result;
        } 
 
        @Override 
        public String toString() {
Connect your IDE to all the code out there  Get Codota for Java