Skip to content

Parts 1 & 2 Complete#20

Open
ghost wants to merge 32 commits into
GreenRiverCollege-SDEV333:mainfrom
JEller98:main
Open

Parts 1 & 2 Complete#20
ghost wants to merge 32 commits into
GreenRiverCollege-SDEV333:mainfrom
JEller98:main

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Feb 19, 2024

All methods were implemented into the ArrayList and LinkedList class. Unit tests for each have been written as well as Runtime Analysis on each public method. Due to how I wrote these classes, there are still a fair few warnings due to unchecked type casting; that could cause a problem later down the road, but I'm not sure since the warnings all happened when I was casting an Object to generic type E.

As well, the Bag interface has been written. Classes for a Resizing Array List, Linked List, Stack (using an Array List), Stack (using a Linked List), Queue (using a Linked List), and Bag (using a Linked List) have been created, with methods implemented. All of the above classes have blocks of text in their Javadocs dedicated to analyzing the time complexity of each method.

Again, I accept whatever grade you feel I deserve for this work. It isn't my strongest, but hopefully it demonstrates that I know what I'm doing to some extent.

Thank you for your time.
-Jared

…ested and can be considered experimental at best.
…d unit tests in ArrayListTests.java. They aren't perfect, but hopefully they serve their intended purpose.
…get(); this is due to get() being used extensively throughout the other unit tests, I believe these tests serve as proof that get() functions as intended too.
…k interface. Runtime Analysis is included on all public methods.
…ence of Stacks that use LinkedLists instead of ArrayLists.
…interface for generic types and also included Runtime Analysis on each method. Hopefully the analysis will be a little more accurate this time...
…by StackTestClient for ResizingArrayStack.java and LinkedStack.java.
… includes runtime analysis for all public methods implemented.
…then calculates the mean and standard deviation from the numbers added.
@ghost ghost changed the title Out of time Parts 1 & 2 Complete Feb 20, 2024
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.

1 participant