[jdom-interest] Document.equals()

Alex Rosen arosen at silverstream.com
Thu Oct 4 10:03:56 PDT 2001


Use the source, Luke.

    /**
     * <p>
     *  This tests for equality of this <code>Document</code> to the
supplied
     *    <code>Object</code>.
     * </p>
     *
     * @param ob <code>Object</code> to compare to.
     * @return <code>boolean</code> - whether the <code>Document</code> is
     *         equal to the supplied <code>Object</code>.
     */
    public final boolean equals(Object ob) {
        return (ob == this);
    }




More information about the jdom-interest mailing list