pub fn equals(&self, other: &Self) -> bool {
        if self.len() != other.len() {
            return false;
        }

        for ele in self.iter() {
            if !other.contains(ele) {
                return false;
            }
        }

        true
    }
/// returns true if two LinkedHashSets have same elements (ignore order)
returns true if two LinkedHashSets have same elements (ignore order)
returns true if two LinkedHashSets have same elements ( ignore order )
pub fn equals(&self, other: &Self) -> bool {
        if self.len() != other.len() {
            return false;
        }
        for ele in self.iter() {
            if !other.contains(ele) {
                return false;
            }
        }
        true
    }
pub fn equals ( & self , other : & Self ) -> bool { if self . len ( ) != other . len ( ) { return false ; } for ele in self . iter ( ) { if ! other . contains ( ele ) { return false ; } } true }
returns true if two LinkedHashSets have same elements (ignore order)
returns true if two LinkedHashSets have same elements ( ignore order )
&self
other
&Self
&self
other
&Self