/** * remove a list of EndpointAddresses from the access point * * @param addresses List of EndpointAddresses represented as * {@link java.lang.String}. */ public void removeEndpointAddresses(List<String> addresses) { endpointAddresses.removeAll(addresses); }
/** * Remove the instances in q from sp * * @param sp * @param q */ private void removeInstances(Vector<TaggedInstance> sp, Vector<TaggedInstance> q) { sp.removeAll(q); }
protected void removeBuddies(Collection<Address> buddies) { this.buddies.removeAll(buddies); lastModified = new Date(); }
public void removeConnectionNotificationListener(NotificationListener listener) throws ListenerNotFoundException { List<NotificationDef> toRemove = new ArrayList<NotificationDef>(); synchronized (listeners) { for (NotificationDef def : listeners) { if (def.listener == listener) { toRemove.add(def); } } listeners.removeAll(toRemove); } }
private Collection getTransactionMethodsFor(Class interfaceImpl, Collection disallowedMethods) { Vector v = new Vector(Arrays.asList(interfaceImpl.getMethods())); v.removeAll(disallowedMethods); return v; }
private Collection getTransactionMethodsFor(Class interfaceImpl, Collection disallowedMethods) { Vector v = new Vector(Arrays.asList(interfaceImpl.getMethods())); v.removeAll(disallowedMethods); return v; }
public static void main(String[] args) { Vector v1 = new Vector(); Vector v2 = new Vector(); v1.add(1111); v2.add(1111); v2.add(2222); v2.removeAll(v1); System.out.println(v2); }
/** * First wait until complete. */ public synchronized boolean removeAll(Collection collection) { waitUntilComplete(); return super.removeAll(collection); }
public boolean removeAll(Collection c) { if (names==null) return super.removeAll(c); boolean changed=false; Iterator it = c.iterator(); while (it.hasNext()) changed|=remove(it.next()); return changed; }
@Override public synchronized boolean removeAll(Collection paramCollection) { if (_directAccess) { return super.removeAll(paramCollection); } return ProxyCollections.removeAll(this, paramCollection); }
/** * First wait until complete. */ public synchronized boolean removeAll(Collection collection) { waitUntilComplete(); return super.removeAll(collection); }
@Override public synchronized boolean removeAll(Collection paramCollection) { if (_directAccess) { return super.removeAll(paramCollection); } return ProxyCollections.removeAll(this, paramCollection); }
@Override public synchronized boolean removeAll(Collection paramCollection) { if (_directAccess) { return super.removeAll(paramCollection); } return ProxyCollections.removeAll(this, paramCollection); }
@Override public synchronized boolean removeAll(Collection<?> c) { uncacheAll(); return super.removeAll(c); }
public boolean removeAll(Collection c) { if (names==null) return super.removeAll(c); boolean changed=false; Iterator it = c.iterator(); while (it.hasNext()) changed|=remove(it.next()); return changed; }
/** * First wait until complete. */ public synchronized boolean removeAll(Collection collection) { waitUntilComplete(); return super.removeAll(collection); }
@Override public synchronized boolean removeAll(Collection paramCollection) { if (_directAccess) { return super.removeAll(paramCollection); } return ProxyCollections.removeAll(this, paramCollection); }
/** * First wait until complete. */ public synchronized boolean removeAll(Collection collection) { waitUntilComplete(); return super.removeAll(collection); }
@Override public void remove(Service service) { Vector<Service> toRemove=new Vector<Service>(); for (Service serv:services) if (serv.getID().equalsIgnoreCase(service.getID())) toRemove.add(service); services.removeAll(toRemove); }
@Test(expected = ReactiveAuditException.class) public void removeAll() { ReactiveAudit.off.commit(); Vector vector=new Vector(); TestTools.strict.commit(); vector.removeAll(null); } @Test(expected = ReactiveAuditException.class)