Ignore:
Timestamp:
09/12/11 18:11:46 (13 years ago)
Author:
vmipsl
Message:

Servlet _ Contour en cours

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/common/implementation/com/ether/EtherHelper.java

    r189 r191  
    11package com.ether; 
    22 
     3import org.apache.commons.lang.ArrayUtils; 
    34import org.jetbrains.annotations.NotNull; 
    45 
     
    2829    } 
    2930 
     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    } 
    3037 
    3138} 
Note: See TracChangeset for help on using the changeset viewer.