Java List to Double Array toDoubleList(List values)

Here you can find the source of toDoubleList(List values)

Description

to Double List

License

Open Source License

Declaration

public static List<Double> toDoubleList(List<Double> values) 

Method Source Code

//package com.java2s;
/**/*from w  ww .  ja va  2 s .c  o  m*/
 * Part of program for analyze speech signal 
 * Copyright (c) 2008 Mindaugas Greibus (spantus@gmail.com)
 * http://code.google.com/p/spantus/
 * 
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 675 Mass Ave, Cambridge, MA 02139, USA.
 * 
 */

import java.util.List;

public class Main {
    public static List<Double> toDoubleList(List<Double> values) {
        //        List<Double> doubles = new ArrayList<Double>(values.size());
        //        for (Double float1 : values) {
        //            doubles.add( float1.doubleValue());
        //        }
        return values;
    }
}

Related

  1. toDoubleList(double[] array)
  2. toDoubleList(double[] array)
  3. toDoubleList(double[] doubleArray)
  4. toDoubleList(Double[] in)
  5. toDoubleList(final E[] array)
  6. toDoubleList(List list)
  7. toDoubleList(String[] array)