Code example for Set

Methods: equals

0
            return false; 
        } 
        if (!excludes.equals(that.excludes)) {
            return false; 
        } 
        if (!includes.equals(that.includes)) {
            return false; 
        } 
 
        return true; 
    } 
 
    @Override 
    public int hashCode() { 
        int result = includes.hashCode();
        result = 31 * result + excludes.hashCode();
        result = 31 * result + (caseSensitive ? 1 : 0);
        return result;
    } 
 
Connect your IDE to all the code out there  Get Codota for Java