Готовая лабораторная работа 3
This commit is contained in:
parent
17c4995d8a
commit
585424fb62
@ -56,6 +56,6 @@ public class SetGeneric<T extends DrawingArmoVehicle> {
|
|||||||
public T Get(int position) {
|
public T Get(int position) {
|
||||||
if (position < 0 || position >= _places.length)
|
if (position < 0 || position >= _places.length)
|
||||||
return null;
|
return null;
|
||||||
return (T) _places[position];
|
return (T)_places[position];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user