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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user