public static final class Stockticker.Stock extends Object implements Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected int |
cnt |
protected static DecimalFormat |
df |
protected double |
lastchange |
protected String |
symbol |
protected double |
value |
| Constructor and Description |
|---|
Stockticker.Stock(String symbol,
double initvalue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object other) |
int |
getCnt() |
double |
getLastChange() |
String |
getLastChangeAsString() |
String |
getSymbol() |
double |
getValue() |
String |
getValueAsString() |
int |
hashCode() |
void |
setCnt(int c) |
void |
setLastChange(double lastchange) |
void |
setValue(double value) |
String |
toString() |
protected static DecimalFormat df
protected String symbol
protected double value
protected double lastchange
protected int cnt
public Stockticker.Stock(String symbol, double initvalue)
public void setCnt(int c)
public int getCnt()
public String getSymbol()
public double getValue()
public void setValue(double value)
public String getValueAsString()
public double getLastChange()
public void setLastChange(double lastchange)
public String getLastChangeAsString()
Copyright © 2015 WSO2 Inc. All rights reserved.