Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.net.util
Class ListenerList

    java.lang.Object
      org.apache.commons.net.util.ListenerList

All Implemented Interfaces:
  Serializable, Iterable<EventListener>

    public class ListenerList

extends Object
implements Serializable, Iterable<EventListener>

Author:
  Daniel F. Savarese
See Also:
  Serialized Form

Constructor Summary
`ListenerList()`

Method Summary
`void` | `addListener(EventListener listener)`
`int` | `getListenerCount()`
`Iterator<EventListener>` | `iterator()` Return an `Iterator` for the `EventListener` instances
`void` | `removeListener(EventListener listener)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ListenerList

    public ListenerList()

Method Detail

### addListener

    public void addListener(EventListener listener)

### removeListener

    public void removeListener(EventListener listener)

### getListenerCount

    public int getListenerCount()

### iterator

    public Iterator<EventListener> iterator()

  Return an `Iterator` for the `EventListener` instances

  Specified by:
    `iterator` in interface `Iterable<EventListener>`
  Since:
    2.0 TODO Check that this is a good defensive strategy

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.