Search Results for

    Show / Hide Table of Contents

    Class FloatValues

    Defines a float values collection

    Inheritance
    java.lang.Object
    FloatValues
    Implements
    com.scichart.core.model.IValues<java.lang.Float>
    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 FloatValues implements IValues<Float>

    Constructors

    FloatValues()

    Creates a new FloatValues instance

    Declaration
    public FloatValues()

    FloatValues(float[] items)

    Creates a new FloatValues instance and initializes it with specified array

    Declaration
    public FloatValues(float[] items)
    Parameters
    Type Name Description
    float[] items

    The array with items

    FloatValues(int capacity)

    Creates a new FloatValues instance

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

    The initial capacity

    Methods

    add(float value)

    Adds new value

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

    The value to add

    add(float[] values)

    Adds multiple values from array

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

    The values to add

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

    Adds multiple values from array region

    Declaration
    public void add(float[] values, int startIndex, int count)
    Parameters
    Type Name Description
    float[] 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, float value)

    Adds new value at specified location

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

    The location to add value at

    float 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 float get(int index)
    Parameters
    Type Name Description
    int index

    The index of value to get

    Returns
    Type Description
    float

    The value

    getItemsArray()

    Gets the internal items array

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

    The items array

    getValuesType()

    Get type of values

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

    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, float value)

    Sets the value at specified location

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

    The location to set value at

    float 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.Float>
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml