Class SimpleInventory<T extends RfidTag>

  • Type Parameters:
    T - RfidTag instance

    public class SimpleInventory<T extends RfidTag>
    extends java.lang.Object
    Simple inventory implementation - designed for update an inventory with a list of all transponder. Than you can get the added and removed transponder.
    Author:
    mn
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleInventory()
      Create an new instance.
    • Method Detail

      • updateInventory

        public void updateInventory​(java.util.List<T> tags)
        update the current inventory and calculate the removed and added tags
        Parameters:
        tags - new tags
      • getInventory

        public java.util.List<T> getInventory()
        Returns:
        the current inventory
      • getAddedTags

        public java.util.List<T> getAddedTags()
        Returns:
        the added Tags
      • getRemovedTags

        public java.util.List<T> getRemovedTags()
        Returns:
        the removed Tags