Interface ListenerManager<K,​V>

    • Method Detail

      • clear

        void clear()
        Remove all listeners
      • size

        int size()
        Return the number of listeners
        Returns:
        number
      • forEach

        void forEach​(Consumer<V> function)
        Utility - apply the given function to each listener. The function receives the listener as an argument.
        Parameters:
        function - function to call for each listener
      • isEmpty

        default boolean isEmpty()