9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-25 10:09:14 +00:00

Performance pass 3 (Manual array to collection copy)

This commit is contained in:
Andrew
2020-10-15 22:44:30 -07:00
parent 335d4abbe1
commit 1e188fe737

View File

@@ -382,10 +382,7 @@ public class KList<T> extends ArrayList<T> implements List<T>
@SuppressWarnings("unchecked")
public KList<T> add(T... t)
{
for(T i : t)
{
super.add(i);
}
Collections.addAll(super, t);
return this;
}