Code example for ImmutableSet

Methods: hashCode

0
 
        @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() {
            return description;
        } 
    } 
} 
Experience pair programming with AI  Get Codota for Java