Neo4j

org.neo4j.helpers
Class Listeners

java.lang.Object
  extended by org.neo4j.helpers.Listeners

public class Listeners
extends Object

Helper class for dealing with listeners


Nested Class Summary
static interface Listeners.Notification<T>
           
 
Constructor Summary
Listeners()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Listeners

public Listeners()
Method Detail

newListeners

public static <T> Iterable<T> newListeners()

addListener

public static <T> Iterable<T> addListener(T listener,
                                          Iterable<T> listeners)

removeListener

public static <T> Iterable<T> removeListener(T listener,
                                             Iterable<T> listeners)

notifyListeners

public static <T> void notifyListeners(Iterable<T> listeners,
                                       Listeners.Notification<T> notification)

notifyListeners

public static <T> void notifyListeners(Iterable<T> listeners,
                                       Executor executor,
                                       Listeners.Notification<T> notification)

Neo4j

Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.