public boolean equals()

in src/main/java/org/apache/commons/graph/SynchronizedGraph.java [70:86]


    public boolean equals( Object obj )
    {
        if ( this == obj )
        {
            return true;
        }

        if ( obj == null || getClass() != obj.getClass() )
        {
            return false;
        }

        @SuppressWarnings( "unchecked" )
        // test against any Graph typed instance
        SynchronizedGraph<Object, Object> other = (SynchronizedGraph<Object, Object>) obj;
        return eq( g, other.g );
    }