package floatvectordemo; import org.opentrafficsim.core.unit.LengthUnit; import org.opentrafficsim.core.unit.TemperatureUnit; import org.opentrafficsim.core.value.ValueException; import org.opentrafficsim.core.value.vfloat.vector.FloatVector; import org.opentrafficsim.core.value.vfloat.vector.MutableFloatVector; /** * Demonstrate use of FloatVector and MutableFloatVector. *
* Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights
* reserved.
* BSD-style license. See OpenTrafficSim License.
*
* $LastChangedDate$, @version $Revision$, by $Author: pknoppers
* $, initial version Sep 2, 2014
* @author Peter Knoppers
*/
public final class FloatVectorDemo
{
/**
* Prevent instantiation of this class.
*/
private FloatVectorDemo()
{
// This class should never be instantiated.
}
/**
* Demonstrate the use of FloatVector and MutableFloatVector.
* @param args String[]; the command line argument; not used
* @throws ValueException should not happen in this demo code
*/
public static void main(final String[] args) throws ValueException
{
System.out.println("Creating FloatVector.Abs.Dense fad");
FloatVector.Abs.Dense