use of gnu.trove.list.TDoubleList in project Terasology by MovingBlocks.
the class TroveUtils method intToDouble.
public static TDoubleList intToDouble(TIntList list) {
TDoubleList result = new TDoubleArrayList(list.size());
TIntIterator iterator = list.iterator();
while (iterator.hasNext()) {
int i = iterator.next();
result.add(i);
}
return result;
}
Aggregations