question: check if this collection has the same attributes as the other collection . if comparevalues is true , it also compares the values of each attribute . concode_field_sep Array<Attribute> attributes concode_elem_sep boolean sorted concode_elem_sep long mask concode_field_sep long getMask concode_elem_sep int compare concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void clear concode_elem_sep void sort concode_elem_sep int compareTo concode_elem_sep void remove concode_elem_sep Iterator<Attribute> iterator concode_elem_sep int size concode_elem_sep void enable concode_elem_sep void disable concode_elem_sep int hashCode concode_elem_sep Attribute get concode_elem_sep T get concode_elem_sep Array<Attribute> get concode_elem_sep boolean equals concode_elem_sep int attributesHash concode_elem_sep boolean has concode_elem_sep int indexOf
target: boolean function ( final Attributes arg0 , boolean arg1 ) { if ( arg0 == this ) return true ; if ( ( arg0 == null ) || ( mask != arg0 . mask ) ) return false ; if ( ! arg1 ) return true ; sort ( ) ; arg0 . sort ( ) ; for ( int loc0 = 0 ; loc0 < attributes . size ; loc0 ++ ) if ( ! attributes . get ( loc0 ) . equals ( arg0 . attributes . get ( loc0 ) ) ) return false ; return true ; }