/** * Connects the supplied listener to this list, such that it will be notified on adds and * removes. * @return a connection instance which can be used to cancel the connection. */ public Connection connect (Listener<? super E> listener) { return addConnection(listener); }
/** * Connects the supplied listener to this list, such that it will be notified on adds and * removes. * @return a connection instance which can be used to cancel the connection. */ public Connection connect (Listener<? super E> listener) { return addConnection(listener); }