edu.ucla.belief.io
Class ListConverter

Object
  extended by ListConverter

public class ListConverter
extends Object


Constructor Summary
ListConverter()
           
 
Method Summary
static List flatten(List list)
           
static void main(String[] args)
           
static List makeDimensional(List values, int[] sizes)
           
static double[] toDoubleArray(List values)
           
static int[] toIntArray(List values)
           
static List toList(double[] values)
           
static List toList(int[] values)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListConverter

public ListConverter()
Method Detail

flatten

public static List flatten(List list)

makeDimensional

public static List makeDimensional(List values,
                                   int[] sizes)

toList

public static List toList(int[] values)

toList

public static List toList(double[] values)

toIntArray

public static int[] toIntArray(List values)

toDoubleArray

public static double[] toDoubleArray(List values)

main

public static void main(String[] args)


Copyright 2010 UCLA Automated Reasoning Group