Code example for Vector

Methods: removeElementtrimToSize

	    throw new IllegalArgumentException("Adding a null listener!");
    public boolean removeEventListener(ClientEventListener cel) {
	boolean b = listeners.removeElement(cel);
	return b;
     * Sends the ClientEvent to all registered listeners of this object. 
    public void produceEvent(ClientEvent ce, ObjectContainer container, ClientContext context) {
    	if(container != null)
    		container.activate(listeners, 1);
	for (Enumeration<ClientEventListener> e = listeners.elements() ; 
	     e.hasMoreElements();) {
            try { 
Connect your IDE to all the code out there  Get Codota for Java