/*******************************************************************************
* Copyright (c) 2011 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
******************************************************************************/
package org.csstudio.data.values;
/** A double-typed value.
* @see IValue
* @author Kay Kasemir
*/
public interface IDoubleValue extends IValue
{
/** @return Returns the whole array of values. */
public double[] getValues();
/** @return Returns the first array element.
* <p>
* Since most values are probably scalars, this is a convenient
* way to get that one and only element.
* @see #getValues
*/
public double getValue();
}