package trail.entity.basic;

import trail.entity.beans.*;
import java.util.Collection;

public interface Calculator {

  public void addFund (String name, double growthrate);
  public void addInvestor (String name, int start, int end);

  public double calculate (int fundId, int personId, double saving);

  public Collection<Fund> getFunds ();
  public Collection <Investor> getInvestors ();
  public Collection <TimedRecord> getRecords ();

}