/**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.vtype.next;
/**
* Scalar float with alarm, timestamp, display and control information.
* Auto-unboxing makes the extra method for the primitive type
* unnecessary.
*
* @author carcassi
*/
public abstract class VFloat extends VNumber {
/**
* {@inheritDoc }
*/
@Override
public abstract Float getValue();
/**
* Creates a new VFloat.
*
* @param value the value
* @param alarm the alarm
* @param time the time
* @param display the display
* @return the new value
*/
public static VFloat create(final Float value, final Alarm alarm, final Time time, final Display display) {
return new IVFloat(value, alarm, time, display);
}
}