nashorn/src/jdk/nashorn/internal/runtime/PropertyDescriptor.java
changeset 24725 7bb1f687a852
parent 23083 8c74590d5df1
equal deleted inserted replaced
24724:76c48d28d0d0 24725:7bb1f687a852
   152      */
   152      */
   153     public boolean has(Object key);
   153     public boolean has(Object key);
   154 
   154 
   155     /**
   155     /**
   156      * Check existence and compare attributes of descriptors.
   156      * Check existence and compare attributes of descriptors.
   157      *
   157      * @param otherDesc other descriptor to compare to
   158      * @return true if every field of this desc exists in otherDesc and has the same value.
   158      * @return true if every field of this descriptor exists in otherDesc and has the same value.
   159      */
   159      */
   160     public boolean hasAndEquals(PropertyDescriptor otherDesc);
   160     public boolean hasAndEquals(PropertyDescriptor otherDesc);
   161 }
   161 }
   162 
   162