Skip to content

Instantly share code, notes, and snippets.

@leonardorifeli
Last active March 20, 2017 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leonardorifeli/cceb88b6490a135892a780510abe4e60 to your computer and use it in GitHub Desktop.
Save leonardorifeli/cceb88b6490a135892a780510abe4e60 to your computer and use it in GitHub Desktop.
SOLID - SRP - PopulationStandardDeviation
package com.leonardorifeli.article;
public class GenerateReport {
public ArrayList<String> find() { }
public ArrayList<String> proccess() { }
public void print() { }
}
package com.leonardorifeli.article;
public class PopulationStandardDeviation {
public double mean() { }
public double calculate() { }
public double deviationSumSquare() { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment