Skip to content

Ready for Review#8

Open
tobyDevOp wants to merge 17 commits intoGreenRiverCollege-SDEV333:mainfrom
tobyDevOp:main
Open

Ready for Review#8
tobyDevOp wants to merge 17 commits intoGreenRiverCollege-SDEV333:mainfrom
tobyDevOp:main

Conversation

@tobyDevOp
Copy link
Copy Markdown

Items ready for review:

  • ArrayIntList
  • LInkedIntList
  • DoublyLinkedIntList
  • ArrayIntListTest
  • LinkedIntListTest (Test code needs to be refactored)

All list classes are complete and function properly. I believe this is as far as I can get with this package because I am out of time. I tested as I went along with the driver class. I have never written a fully functioning jUnit test class and I am new to the framework. That was written for the ArrayIntList class. I don't think I will be able to get much more accomplished before 5pm tomorrow night.

…ckage names, Override toStringMethods(), tested with Driver class
…ger[] so class will support 0 as an index value and intialize the array to default null values
…ger[] so class will support 0 as an index value and intialize the array to default null values
…kage because I am out of time. The list classes are complete and function properly. I tested as I went along with the driver class. I have never written a fully functioning jUnit test class and I am new to the framework. That was written for the ArrayIntList class. I don't think I will be able to get much more accomplished before 5pm tomorrow night.
…ixed toString() and size miss count within remove().
*/
@Override
public Iterator<Integer> iterator() {
return null;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your iterator() method on the DoublyLinkedList class returns null. I believe that is a stub. It should return an instance of a new iterator object. If you look at the LinkedIntList (singly-linked list), you will see that you defined an iterator class (nested) that has implementations of next() and hasNext() methods -- and then in the iterator() method returned a new instance of that class. We need the same/similar here in DoublyLinkedList...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants