Code refactoring, changed variable name Value to value as variable names should not start with capital letters and got rid of unnescesary this. when referring to global variables in the class
Code refactoring - previously was taking 2 lines to create then return returnObject. Now have shortened this to one line. Also added else clause to size() method so will stop searching after it encounters its first null value as everything after will be more nulls
Code refactoring - tidied up remove method in ArrayList and added JUnit tests for removing first and last elements in lists
code refactoring - tidied up add methods and changed isNearlyFull method to isFull method
Finished code refactoring of ArrayList
Code refactoring of LinkedList and Node. Junit tests still working afterwards
Code refactoring of LinkedList and Node. Junit tests still working afterwards
more code refactoring of Node and LinkedList. Added a getter method in Node. I think this is better than using .next to get next node as the variable name will be able to change but the linkedlist now relies on methods i.e. the behaviour of node, so its variable names can change without affecting its performance