package trail.security;

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 Collection<Fund> getFunds ();
  public Collection <Investor> getInvestors ();
  public Collection <TimedRecord> getRecords ();
  public double calculate (int fundId, int personId, double saving);

}