/**
* An interface for baskets
- *
+ * <p>
* @author Roland Haeder<roland@mxchange.org>
* @param <T> Any addable basket items
*/
/**
* Adds given item instance to this basket
- *
+ * <p>
* @param item Item instance to add
* @throws org.mxchange.jshopcore.exceptions.BasketItemAlreadyAddedException
* If the item instance has already been added
/**
* Some "getter" for all entries in this basket
- *
+ * <p>
* @return Map on all basket items
*/
public List<T> getAll ();
/**
* Getter for last entry
- *
+ * <p>
* @return Last added item in basket
*/
public T getLast ();
/**
* Getter for last num rows
- *
+ * <p>
* @return Last num rows
*/
public int getLastNumRows ();
/**
* Checks whether the given item has already been added by checking the
* item's id.
- *
+ * <p>
* @param item Item instance to check
* @return Whether the given item has been found
*/
/**
* Checks if the basket is empty
- *
+ * <p>
* @return Whether the basket is empty
*/
public boolean isEmpty ();