Search Results for

    Show / Hide Table of Contents

    Class BooleanValues

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

    Constructors

    BooleanValues()

    Creates a new BooleanValues instance

    Declaration
    public BooleanValues()

    BooleanValues(boolean[] items)

    Creates a new BooleanValues instance and initializes it with specified array

    Declaration
    public BooleanValues(boolean[] items)
    Parameters
    Type Name Description
    boolean[] items

    The array with items

    BooleanValues(int capacity)

    Creates a new BooleanValues instance

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

    The initial capacity

    Methods

    add(boolean value)

    Adds new value

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

    The value to add

    add(boolean[] values)

    Adds multiple values from array

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

    The values to add

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

    Adds multiple values from array region

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

    Adds new value at specified location

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

    The location to add value at

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

    The index of value to get

    Returns
    Type Description
    boolean

    The value

    getItemsArray()

    Gets the internal items array

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

    The items array

    getValuesType()

    Get type of values

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

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

    Sets the value at specified location

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

    The location to set value at

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