Skip to content

Conversation

@graceemetz
Copy link
Owner

Created two interfaces

Copy link

@jrg94 jrg94 left a comment

Choose a reason for hiding this comment

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

Solid work! Needs some minor changes.

Copy link

Choose a reason for hiding this comment

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

I don't know what's going on in the lib folder. You should be able to drop the JAR in there as-is. Seems like you might have unzipped it.

/**
* Queue of Strings to represent the values of each input.
*/
Queue<String> inputs = new Queue1L<>();
Copy link

Choose a reason for hiding this comment

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

There shouldn't be any variables in the interfaces.

/**
* Queue of values to represent the weights of each input.
*/
Queue<Double> weight = new Queue1L<>();
Copy link

Choose a reason for hiding this comment

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

Make sure the docs have proper contracts with preconditons and postconditions.

@jrg94
Copy link

jrg94 commented Nov 25, 2025

I think the hierarchy diagram is also missing.

Copy link

@jrg94 jrg94 left a comment

Choose a reason for hiding this comment

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

Nicely done!

of it in this folder. You may also embed it just below using markdown syntax
(i.e., `![ALT TEXT](path/to/file)`).

<!-- TODO: make a diagram of your component hierarchy then delete this comment -->
Copy link

Choose a reason for hiding this comment

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

I don't believe PDFs can be embedded in markdown, but I was able to view the file.

* @ensures {@code <weights> = weights}
* @return the queue of weight values
*/
Queue<Double> weights();
Copy link

Choose a reason for hiding this comment

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

docs look good

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.

3 participants