public class Listeners extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Listeners.Notification<T> |
Constructor and Description |
---|
Listeners() |
Modifier and Type | Method and Description |
---|---|
static <T> Iterable<T> |
addListener(T listener,
Iterable<T> listeners) |
static <T> Iterable<T> |
newListeners() |
static <T> void |
notifyListeners(Iterable<T> listeners,
Executor executor,
Listeners.Notification<T> notification) |
static <T> void |
notifyListeners(Iterable<T> listeners,
Listeners.Notification<T> notification) |
static <T> Iterable<T> |
removeListener(T listener,
Iterable<T> listeners) |
public static <T> Iterable<T> newListeners()
public static <T> void notifyListeners(Iterable<T> listeners, Listeners.Notification<T> notification)
public static <T> void notifyListeners(Iterable<T> listeners, Executor executor, Listeners.Notification<T> notification)
Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.