Checks two BasicPermission objects for equality.
Checks that <i>obj</i>'s class is the same as this object's class
and has the same name as this object.
<P>
@param obj the object we are testing for equality with this object.
@return true if <i>obj</i>'s class is the same as this object's class
and has the same name as this BasicPermission object, false otherwise.
Checks two BasicPermission objects for equality. Checks that <i>obj</i>'s class is the same as this object's class and has the same name as this object. <P> @param obj the object we are testing for equality with this object. @return true if <i>obj</i>'s class is the same as this object's class and has the same name as this BasicPermission object, false otherwise.