Class DefaultAddRemoveStrategy<T>

  • Type Parameters:
    T - the row type
    All Implemented Interfaces:
    TableAddRemoveStrategy<T>

    public class DefaultAddRemoveStrategy<T>
    extends java.lang.Object
    implements TableAddRemoveStrategy<T>
    A strategy that uses the table's sort state to perform a binary search of items to be added and removed.

    This strategy is aware that some items may not be correctly removed, such as database items that have been deleted externally to the table. These items may require a brute force update to achieve removal.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(java.util.List<AddRemoveListItem<T>> addRemoveList, TableData<T> tableData, TaskMonitor monitor)
      Adds to and removes from the table data those items in the given add/remove list
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait