public class Ledger extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private double |
aveAssets |
private long |
numberOfAccounts |
private static long |
serialVersionUID |
private double |
totalAssets |
Constructor and Description |
---|
Ledger(long numberOfAccounts,
double totalAssets,
double aveAssets) |
Modifier and Type | Method and Description |
---|---|
double |
getAverageAssets() |
long |
getNumberOfAccounts() |
double |
getTotalAssets() |
private void |
setAverageAssets(double aveAssets) |
private void |
setNumberOfAccounts(long numberOfAccounts) |
private void |
setTotalAssets(double totalAssets) |
String |
toString() |
private static final long serialVersionUID
private long numberOfAccounts
private double totalAssets
private double aveAssets
public Ledger(long numberOfAccounts, double totalAssets, double aveAssets)
public double getAverageAssets()
private void setAverageAssets(double aveAssets)
public long getNumberOfAccounts()
private void setNumberOfAccounts(long numberOfAccounts)
public double getTotalAssets()
private void setTotalAssets(double totalAssets)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.