From d140d781b749a99c44648ae8bcb225d96342bdce Mon Sep 17 00:00:00 2001 From: "ns.potapov" Date: Tue, 24 Oct 2023 12:43:15 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20Pl?= =?UTF-8?q?anesGenericCollection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PlanesGenericCollection.java | 29 +++++++++++-------- ProjectStormtrooper/SetGeneric.java | 4 +++ 2 files changed, 21 insertions(+), 12 deletions(-) diff --git a/ProjectStormtrooper/PlanesGenericCollection.java b/ProjectStormtrooper/PlanesGenericCollection.java index 3b8417a..6c8f481 100644 --- a/ProjectStormtrooper/PlanesGenericCollection.java +++ b/ProjectStormtrooper/PlanesGenericCollection.java @@ -25,7 +25,11 @@ public class PlanesGenericCollection { // Вставка в список по позиции _places.set(position, plane); } + + public ArrayList GetEnumerator() { + return _places; + } }