mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +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")
|
@SuppressWarnings("unchecked")
|
||||||
public KList<T> add(T... t)
|
public KList<T> add(T... t)
|
||||||
{
|
{
|
||||||
for(T i : t)
|
Collections.addAll(super, t);
|
||||||
{
|
|
||||||
super.add(i);
|
|
||||||
}
|
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user