Class ListenerList<E>

java.lang.Object
org.eclipse.core.runtime.ListenerList<E>
org.eclipse.ease.tools.ListenerList<E>
All Implemented Interfaces:
Iterable<E>

public class ListenerList<E> extends org.eclipse.core.runtime.ListenerList<E> implements Iterable<E>
This utility class provides backwards compatibility for older target platforms. Using this implementation allows to benefit from the new iterable interface. Still it can be used on old platforms where this is not provided.
  • Field Summary

    Fields inherited from class org.eclipse.core.runtime.ListenerList

    EQUALITY, IDENTITY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.eclipse.core.runtime.ListenerList

    add, clear, getListeners, isEmpty, parallelStream, remove, size, spliterator, stream, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • ListenerList

      public ListenerList()
  • Method Details

    • iterator

      public Iterator<E> iterator()
      Specified by:
      iterator in interface Iterable<E>
      Overrides:
      iterator in class org.eclipse.core.runtime.ListenerList<E>