- Timestamp:
- 09/12/11 18:11:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/common/implementation/com/ether/EtherHelper.java
r189 r191 1 1 package com.ether; 2 2 3 import org.apache.commons.lang.ArrayUtils; 3 4 import org.jetbrains.annotations.NotNull; 4 5 … … 28 29 } 29 30 31 public static double[] convertListDoubleToDoubleArray(@NotNull final List<Double> list) 32 { 33 Double[] doubleArray = new Double[list.size()]; 34 doubleArray = list.toArray( doubleArray ); 35 return ArrayUtils.toPrimitive( doubleArray ); 36 } 30 37 31 38 }
Note: See TracChangeset
for help on using the changeset viewer.