mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Performance pass 3 (Manual array to collection copy)
This commit is contained in:
parent
335d4abbe1
commit
1e188fe737
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user