Search Results for

    Show / Hide Table of Contents

    Class DoubleValues

    Defines a double values collection

    Inheritance
    java.lang.Object
    DoubleValues
    Implements
    com.scichart.core.model.IValues<java.lang.Double>
    Inherited Members
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public final class DoubleValues implements IValues<Double>

    Constructors

    DoubleValues()

    Creates a new DoubleValues instance

    Declaration
    public DoubleValues()

    DoubleValues(double[] items)

    Creates a new DoubleValues instance and initializes it with specified array

    Declaration
    public DoubleValues(double[] items)
    Parameters
    Type Name Description
    double[] items

    The array with items

    DoubleValues(int capacity)

    Creates a new DoubleValues instance

    Declaration
    public DoubleValues(int capacity)
    Parameters
    Type Name Description
    int capacity

    The initial capacity

    Methods

    add(double value)

    Adds new value

    Declaration
    public void add(double value)
    Parameters
    Type Name Description
    double value

    The value to add

    add(double[] values)

    Adds multiple values from array

    Declaration
    public void add(double[] values)
    Parameters
    Type Name Description
    double[] values

    The values to add

    add(double[] values, int startIndex, int count)

    Adds multiple values from array region

    Declaration
    public void add(double[] values, int startIndex, int count)
    Parameters
    Type Name Description
    double[] values

    The values array to add

    int startIndex

    The index of first value to add

    int count

    The amount of values to add

    add(int location, double value)

    Adds new value at specified location

    Declaration
    public void add(int location, double value)
    Parameters
    Type Name Description
    int location

    The location to add value at

    double value

    The value to add

    clear()

    Clears values without disposing allocated memory

    Declaration
    public void clear()

    disposeItems()

    Clears and disposes allocated memory

    Declaration
    public void disposeItems()

    get(int index)

    Gets the value at specified location

    Declaration
    public double get(int index)
    Parameters
    Type Name Description
    int index

    The index of value to get

    Returns
    Type Description
    double

    The value

    getItemsArray()

    Gets the internal items array

    Declaration
    public double[] getItemsArray()
    Returns
    Type Description
    double[]

    The items array

    getValuesType()

    Get type of values

    Declaration
    public Class<Double> getValuesType()
    Returns
    Type Description
    Class<Double>

    remove(int location)

    Removes value at specified location

    Declaration
    public void remove(int location)
    Parameters
    Type Name Description
    int location

    The location to remove value tat

    set(int location, double value)

    Sets the value at specified location

    Declaration
    public void set(int location, double value)
    Parameters
    Type Name Description
    int location

    The location to set value at

    double value

    The value to set

    setSize(int size)

    Sets the values size

    Declaration
    public void setSize(int size)
    Parameters
    Type Name Description
    int size

    The new size of values instance

    size()

    Gets the size of values

    Declaration
    public int size()
    Returns
    Type Description
    int

    Implements

    com.scichart.core.model.IValues<java.lang.Double>
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml