diff --git a/StockManagement/src/Arrival.java b/StockManagement/src/Arrival.java deleted file mode 100644 index df16c68..0000000 --- a/StockManagement/src/Arrival.java +++ /dev/null @@ -1,19 +0,0 @@ -import java.util.*; - -public class Arrival { - private Available available; - private Stock stock; - private Map.Entry value; - public Arrival(Available available, Stock stock) { - this.available = available; - this.stock = stock; - } - public void arrive(int num, String item) { - this.value = new AbstractMap.SimpleEntry<>(item, num); - Map stock = this.stock.getValue(); - this.available.updateArrival(value, stock); - } - public Map.Entry getValue() { - return new AbstractMap.SimpleEntry<>(value); - } -} \ No newline at end of file