MyInventoryWrapper inventory = new MyInventoryWrapper((Inventory)obj);
InventoryWrapper inventory = new InventoryWrapper((Inventory)obj);
  public static Collection getInventoriesFromLogPlan(Collection container) {    Collection inventories = new LinkedList();    for (Iterator i = container.iterator(); i.hasNext();)    {      Object obj = i.next();      if (!(obj instanceof Inventory))        continue;      MyInventoryWrapper inventory = new MyInventoryWrapper((Inventory)obj);      inventories.add(inventory);    }    return inventories;  }