Function_GUI - MaayanZeevi/OO_Ex1 GitHub Wiki

This class drawing a graph that simulates the function

The class Polynom supports some methods as:

  • drawFunction- drawing a graph of the function, the graph could be recieved by three ways:
  1. A function that receives parameters from JSON
  2. Static function that receives user parameters
  3. Function that builds without parameters
  • itFromFile - Read a new collection of functions from a file using scanner.
  • saveToFile - Write a new collection of functions to a file.

note-these methods are implements from LinkedList (build in class in Java): size, isEmpty, iterator, toArray, add, addAll, containsAll, removeAll, retainAll, remove, clear

https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html note- this class used java LinkedList class for the implemention