class VBAG{ETP} < $VBAG{ETP}
****
A bag with value semantics. All modifying operations return a new object, thus eliminating the possibility of aliasing problems


Flattened version is here

Ancestors
$VBAG{_} $HASH $IS_EQ $RO_BAG{_}
$CONTAINER{_} $STR $ELT{_} $ELT



Public


Features
add(e:ETP):SAME
delete(e:ETP):SAME
delete_all(e:ETP):SAME
hash:INT
is_eq(a:$OB):BOOL
**** Return true if 'self' and 'v' have the same value


Private


The Sather Home Page