mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/CapabilitiesFakeObjects.java
public DistanceMeters genDistanceMeasurement(double value)
    {
        DistanceMeters dm =
                new DistanceMeters().
                    withError(0).
                    withPrecision(0).
                    withStdev(0).
                    withValue(value).
                    withVariance(0);
        return dm;
    }
/**
     * Generate a fake DistanceMeasurement object with everything set to 0 except the value.
     * @param value the value
     * @return  the generated object.
     */
Generate a fake DistanceMeasurement object with everything set to 0 except the value.
@param value the value
@return  the generated object.
Generate a fake DistanceMeasurement object with everything set to 0 except the value . @param value the value @return the generated object .
public DistanceMeters genDistanceMeasurement(double value)
    {
        DistanceMeters dm =
                new DistanceMeters().
                    withError(0).
                    withPrecision(0).
                    withStdev(0).
                    withValue(value).
                    withVariance(0);
        return dm;
    }
public DistanceMeters genDistanceMeasurement ( double value ) { DistanceMeters dm = new DistanceMeters ( ) . withError ( 0 ) . withPrecision ( 0 ) . withStdev ( 0 ) . withValue ( value ) . withVariance ( 0 ) ; return dm ; }
Generate a fake DistanceMeasurement object with everything set to 0 except the value.
Generate a fake DistanceMeasurement object with everything set to 0 except the value .