diff --git a/SetArtilleriesGeneric.java b/SetArtilleriesGeneric.java index 03d19a7..77d1f52 100644 --- a/SetArtilleriesGeneric.java +++ b/SetArtilleriesGeneric.java @@ -9,11 +9,11 @@ public class SetArtilleriesGeneric { _places = new Object[count]; } - public int Insert(T artillery) { - return Insert(artillery, 0); + public int insert(T artillery) { + return insert(artillery, 0); } - public int Insert(T artillery, int position) { + public int insert(T artillery, int position) { if (position < 0 || position >= getCount()) { return -1; } @@ -46,7 +46,7 @@ public class SetArtilleriesGeneric { } @SuppressWarnings("unchecked") - public T Remove(int position) { + public T remove(int position) { if (position < 0 || position >= getCount()) { return null; @@ -60,7 +60,7 @@ public class SetArtilleriesGeneric { } @SuppressWarnings("unchecked") - public T Get(int position) { + public T get(int position) { if (position < 0 || position >= getCount()) { return null; }