/* Set operations */

        /**
         * If a <code>CollectionMutator</code> is defined for this CompositeSet then this
         * method will be called anyway.
         *
         * @param obj Object to be removed
         * @return true if the object is removed, false otherwise
         */
        public override bool remove(Object obj)
        {
            for (java.util.Iterator <Object> i = this.getCollections().iterator(); i.hasNext();)
            {
                java.util.Set <Object> set = (java.util.Set <Object>)i.next();
                if (set.contains(obj))
                {
                    return(set.remove(obj));
                }
            }
            return(false);
        }
Example #2
0
 public bool removeOutEdge <T>(Object provider)
 {
     return(outgoingNodes.remove(provider));
 }
Example #3
0
 public override void remove()
 {
     base.remove();
     setJ.remove(last);
     last = null;
 }