I currently have a data set contained in a java class that can be used to compute a separate set of values (essentially a table of averages.) I am debating between three options:
- Create a method to calculate the averages in the current class.
- Create a new class that operates as a domain object and can compute the averages from the data in the data object.
- Create a new class that is instantiated at the same time as the data object that contains the averages.
What is the best way to handle this structure? (Thanks and sorry if this is too opinion based.)
from Newest questions tagged java - Stack Overflow http://ift.tt/1hZuy24
via IFTTT
Aucun commentaire:
Enregistrer un commentaire