/** Remove a sub behaviour from this <code>SequentialBehaviour</code> */ public void removeSubBehaviour(Behaviour b) { boolean rc = subBehaviours.remove(b); if (rc) { b.setParent(null); } else { // The specified behaviour was not found. Do nothing } }
public boolean removeDescribedBy(Object elem) { boolean result = describedBy.remove(elem); return result; }
public boolean removeApliesTo(Object elem) { boolean result = apliesTo.remove(elem); return result; }
public boolean removeScore(Object elem) { boolean result = score.remove(elem); return result; }
public boolean removeWeightedDescriptors(WeightedDescriptor elem) { boolean result = weightedDescriptors.remove(elem); pcs.firePropertyChange("weightedDescriptors", oldList, this.weightedDescriptors); return result; }
/** * Remove a content language name from the <code>languages</code> slot collection of this object. * * @param l The content language name to remove from the collection. * @return A boolean, telling whether the element was present in the collection or not. */ public boolean removeLanguages(String l) { return language.remove(l); }
/** * Remove an ontology name from the <code>ontologies</code> slot collection of this object. * * @param o The ontology name to remove from the collection. * @return A boolean, telling whether the element was present in the collection or not. */ public boolean removeOntologies(String o) { return ontology.remove(o); }
/** * Remove a protocol name from the <code>protocols</code> slot collection of this object. * * @param ip The protocol name to remove from the collection. * @return A boolean, telling whether the element was present in the collection or not. */ public boolean removeProtocols(String ip) { return interactionProtocols.remove(ip); }
/** * Remove a service description from the <code>services</code> slot collection of this object. * * @param a The service description to remove from the collection. * @return A boolean, telling whether the element was present in the collection or not. */ public boolean removeServices(ServiceDescription a) { return services.remove(a); }
public boolean removeScore(Object elem) { boolean result = score.remove(elem); pcs.firePropertyChange("score", oldList, this.score); return result; }