public class Company extends Object
Constructor and Description |
---|
Company(String name,
String symbol) |
Company(String name,
String symbol,
double current,
double previous) |
Modifier and Type | Method and Description |
---|---|
double |
getCurrentPrice() |
double |
getDelta() |
String |
getName() |
double |
getPreviousPrice() |
String |
getSymbol() |
void |
setCurrentPrice(double current) |
void |
setName(String name) |
void |
setSymbol(String symbol) |
public String getName()
public void setName(String name)
public String getSymbol()
public void setSymbol(String symbol)
public double getCurrentPrice()
public void setCurrentPrice(double current)
public double getPreviousPrice()
public double getDelta()
Copyright © 2020. All rights reserved.