Code example for ImmutableSet

Methods: equalsisEmpty

0
 
        if (directory != that.directory) {
            return false; 
        } 
 
        if (!subEntries.equals(that.subEntries)) {
            return false; 
        } 
 
        if (subEntries.isEmpty()) {
            if (crc != that.crc) {
                return false; 
            } 
            if (size != that.size) {
                return false; 
            } 
        } else { 
            return subEntries.equals(that.subEntries);
        } 
 
        return true; 
    } 
 
Connect your IDE to all the code out there  Get Codota for Java