Package 

Interface Algorithm

    • Method Detail

      • addItem

         abstract boolean addItem(T item)

        Adds an item to the algorithm

        Parameters:
        item - the item to be added
      • addItems

         abstract boolean addItems(Collection<T> items)

        Adds a collection of items to the algorithm

        Parameters:
        items - the items to be added
      • removeItem

         abstract boolean removeItem(T item)

        Removes an item from the algorithm

        Parameters:
        item - the item to be removed
      • updateItem

         abstract boolean updateItem(T item)

        Updates the provided item in the algorithm

        Parameters:
        item - the item to be updated
      • removeItems

         abstract boolean removeItems(Collection<T> items)

        Removes a collection of items from the algorithm

        Parameters:
        items - the items to be removed
      • lock

         abstract void lock()
      • unlock

         abstract void unlock()