jdk/src/share/classes/javax/management/ImmutableDescriptor.java
changeset 21656 d4c777ccb1db
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
21655:55f32ae4f920 21656:d4c777ccb1db
   342     /**
   342     /**
   343      * Compares this descriptor to the given object.  The objects are equal if
   343      * Compares this descriptor to the given object.  The objects are equal if
   344      * the given object is also a Descriptor, and if the two Descriptors have
   344      * the given object is also a Descriptor, and if the two Descriptors have
   345      * the same field names (possibly differing in case) and the same
   345      * the same field names (possibly differing in case) and the same
   346      * associated values.  The respective values for a field in the two
   346      * associated values.  The respective values for a field in the two
   347      * Descriptors are equal if the following conditions hold:</p>
   347      * Descriptors are equal if the following conditions hold:
   348      *
   348      *
   349      * <ul>
   349      * <ul>
   350      * <li>If one value is null then the other must be too.</li>
   350      * <li>If one value is null then the other must be too.</li>
   351      * <li>If one value is a primitive array then the other must be a primitive
   351      * <li>If one value is a primitive array then the other must be a primitive
   352      * array of the same type with the same elements.</li>
   352      * array of the same type with the same elements.</li>