public boolean equals()

in commons-rdf-simple/src/main/java/org/apache/commons/rdf/simple/BlankNodeImpl.java [71:87]


    public boolean equals(final Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        // We don't support equality with other implementations
        if (!(obj instanceof BlankNodeImpl)) {
            return false;
        }
        final BlankNodeImpl other = (BlankNodeImpl) obj;
        if (!Objects.equals(uniqueReference, other.uniqueReference)) {
            return false;
        }
        return true;
    }