Search Results for

    Show / Hide Table of Contents

    Class ComparablePoint

    Represents a point with comparable X and Y coordinates, typically used for trading annotations

    Inheritance
    Object
    ComparablePoint
    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 ComparablePoint

    Constructors

    ComparablePoint()

    Creates a new instance of ComparablePoint with default null values

    Declaration
    public ComparablePoint()

    ComparablePoint(Comparable<?> x, Comparable<?> y)

    Creates a new instance of ComparablePoint with specified x and y values

    Declaration
    public ComparablePoint(Comparable<?> x, Comparable<?> y)
    Parameters
    Type Name Description
    Comparable<?> x

    The x coordinate value

    Comparable<?> y

    The y coordinate value

    Methods

    equals(Object o)

    Declaration
    public boolean equals(Object o)
    Parameters
    Type Name Description
    Object o
    Returns
    Type Description
    boolean
    Overrides
    Object.equals(Object)

    getX()

    Gets the x coordinate value

    Declaration
    public Comparable<?> getX()
    Returns
    Type Description
    Comparable<?>

    The x coordinate value

    getY()

    Gets the y coordinate value

    Declaration
    public Comparable<?> getY()
    Returns
    Type Description
    Comparable<?>

    The y coordinate value

    hashCode()

    Declaration
    public int hashCode()
    Returns
    Type Description
    int
    Overrides
    Object.hashCode()

    setX(Comparable<?> x)

    Sets the x coordinate value

    Declaration
    public void setX(Comparable<?> x)
    Parameters
    Type Name Description
    Comparable<?> x

    The x coordinate value to set

    setY(Comparable<?> y)

    Sets the y coordinate value

    Declaration
    public void setY(Comparable<?> y)
    Parameters
    Type Name Description
    Comparable<?> y

    The y coordinate value to set

    toString()

    Declaration
    public String toString()
    Returns
    Type Description
    String
    Overrides
    Object.toString()
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml