From 4aedc22ade2b2ba21376f06673527680c27b7549 Mon Sep 17 00:00:00 2001 From: Yunusov_Niyaz Date: Thu, 23 Nov 2023 22:56:22 +0400 Subject: [PATCH] Lab4+ --- src/TrashCollection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TrashCollection.java b/src/TrashCollection.java index 8518aa9..2d31a61 100644 --- a/src/TrashCollection.java +++ b/src/TrashCollection.java @@ -5,8 +5,8 @@ public class TrashCollection { public TrashCollection(){ _queue = new ArrayDeque<>(); } - public void push(T monorail){ - _queue.add(monorail); + public void push(T bus){ + _queue.add(bus); } public int getSize(){ return _queue.size();