Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. package fap.core.data;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.Collection;
  5. import java.util.List;
  6.  
  7. /**
  8. * Serie data which stores data in an array.
  9. *
  10. * @author Aleksa Todorovic
  11. * @version 1.0
  12. */
  13. public class DataPointSerieArray extends DataPointSerie {
  14.  
  15. /**
  16. * Collection of points stored as array.
  17. */
  18. private ArrayList<DataPoint> points = new ArrayList<DataPoint>();
  19.  
  20. /**
  21. * Default constructor
  22. */
  23. public DataPointSerieArray() {
  24. }
  25.  
  26. /**
  27. * Constructor from collection.
  28. * @param C collection of points
  29. */
  30. public DataPointSerieArray(Collection<? extends DataPoint> C) {
  31. super(C);
  32. }
  33.  
  34. /**
  35. * @inherit
  36. */
  37. protected List<DataPoint> getPoints() {
  38. return points;
  39. }
  40.  
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement