Search Results for

    Show / Hide Table of Contents

    Class DateValues

    Defines a Date values collection

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

    Constructors

    DateValues()

    Creates a new DateValues instance

    Declaration
    public DateValues()

    DateValues(int capacity)

    Creates a new DateValues instance

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

    The initial capacity

    DateValues(long[] items)

    Creates a new DateValues instance and initializes it with specified array

    Declaration
    public DateValues(long[] items)
    Parameters
    Type Name Description
    long[] items

    The array with items

    Methods

    add(int location, Date date)

    Adds new value at specified location.

    Declaration
    public void add(int location, Date date)
    Parameters
    Type Name Description
    int location

    The location to add value at.

    Date date

    The value to add.

    add(Date date)

    Adds new value

    Declaration
    public void add(Date date)
    Parameters
    Type Name Description
    Date date

    The value to add

    add(Date[] dates)

    Adds multiple values from array

    Declaration
    public void add(Date[] dates)
    Parameters
    Type Name Description
    Date[] dates

    The values to add

    add(Date[] dates, int startIndex, int count)

    Adds multiple values from array region

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

    The values array to add

    int startIndex

    The index of first value to add

    int count

    The amount of values to add

    addTime(int location, long time)

    Adds new value in ticks.

    Declaration
    public void addTime(int location, long time)
    Parameters
    Type Name Description
    int location

    The location to add value at.

    long time

    The value in ticks to add.

    addTime(long time)

    Adds new value in ticks

    Declaration
    public void addTime(long time)
    Parameters
    Type Name Description
    long time

    The value in ticks to add

    addTime(long[] timeValues)

    Adds multiple values in ticks from array

    Declaration
    public void addTime(long[] timeValues)
    Parameters
    Type Name Description
    long[] timeValues

    The values in ticks to add

    addTime(long[] timeValues, int startIndex, int count)

    Adds multiple values in ticks from array region

    Declaration
    public void addTime(long[] timeValues, int startIndex, int count)
    Parameters
    Type Name Description
    long[] timeValues

    The values array to add

    int startIndex

    The index of first value to add

    int count

    The amount of values 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 Date get(int index)
    Parameters
    Type Name Description
    int index

    The index of value to get

    Returns
    Type Description
    Date

    The value

    getItemsArray()

    Gets the internal items array

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

    The items array

    getTime(int index)

    Declaration
    public long getTime(int index)
    Parameters
    Type Name Description
    int index
    Returns
    Type Description
    long

    getValuesType()

    Get type of values

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

    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, Date date)

    Sets the value at specified location

    Declaration
    public void set(int location, Date date)
    Parameters
    Type Name Description
    int location

    The location to set value at

    Date date

    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

    setTime(int location, long time)

    Sets the value at specified location

    Declaration
    public void setTime(int location, long time)
    Parameters
    Type Name Description
    int location

    The location to set value at

    long time

    The value to set

    size()

    Gets the size of values

    Declaration
    public int size()
    Returns
    Type Description
    int

    Implements

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