org.onebusaway.container.model
Class Listeners<T>
java.lang.Object
org.onebusaway.container.model.Listeners<T>
- All Implemented Interfaces:
- Iterable<T>, HasListeners<T>
public class Listeners<T>
- extends Object
- implements Iterable<T>, HasListeners<T>
Convenience container for a collection of typed listener objects
- Author:
- bdferris
- See Also:
HasListeners
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Listeners
public Listeners()
addListener
public void addListener(T listener)
- Specified by:
addListener
in interface HasListeners<T>
removeListener
public void removeListener(T listener)
- Specified by:
removeListener
in interface HasListeners<T>
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T>
Copyright © 2012 OneBusAway. All Rights Reserved.