Class OortList.DeltaListener<E>

  • Type Parameters:
    E - the element type
    All Implemented Interfaces:
    java.util.EventListener, OortObject.Listener<java.util.List<E>>
    Enclosing class:

    public static class OortList.DeltaListener<E>
    extends java.lang.Object
    implements OortObject.Listener<java.util.List<E>>

    An implementation of OortObject.Listener that converts whole list events into OortList.ElementListener events.

    For example, if an entity list:

     [A, B]

    is replaced by a list:

     [A, C, D]

    then this listener generates two "add" events for C and D and one "remove" event for B.