Class AbstractReduceToLastCoalescer<T>

java.lang.Object
org.eclipse.scout.rt.server.notification.AbstractReduceToLastCoalescer<T>
All Implemented Interfaces:
ICoalescer<T>

public abstract class AbstractReduceToLastCoalescer<T> extends Object implements ICoalescer<T>
Reduce the list to the last element
  • Constructor Details

    • AbstractReduceToLastCoalescer

      public AbstractReduceToLastCoalescer()
  • Method Details

    • coalesce

      public List<T> coalesce(List<T> list)
      Specified by:
      coalesce in interface ICoalescer<T>
      Parameters:
      list - all objects to coalesce. Ordered, such that new data is inserted at the end of the list
      Returns:
      a coalesced result. Never null.