Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CommandDeque #9

Merged
merged 7 commits into from Sep 24, 2019
Merged

Add CommandDeque #9

merged 7 commits into from Sep 24, 2019

Conversation

marcfyk
Copy link

@marcfyk marcfyk commented Sep 24, 2019

Add CommandCache class to store Commands.

Add CommandCache tests.

Add DuplicateCommandException.

marcfyk added 7 commits September 19, 2019 14:25
…ific.

Rename seedu.address to seedu.jarvis.

Rename all interfaces and classes to be more specific with identifier on what component the it is for.

Move interfaces and classes specific to address component to address sub package.
Fix lexicographical ordering of import statements and lines exceeding 120 characters.
Add nested package address inside test command package

Place all test for address command to new nested address package.
Update Command abstract class with new methods to check if a command supports inverse execution and to execute inversely if possible.

Add methods to CommandTestUtil to support testing with inverse execution for success or failure.

Add tests to all existing commands to ensure inverse execution is working successfully.
Add Command Cache Deque class as a deque data structure to store commands, which will facilitate storing commands in undo and redo operations.

Add DuplicateCommandException class.

Add tests for CommandCache to ensure that the operations are all accurate in their intended behaviour.
@marcfyk marcfyk merged commit 3b4e8e3 into AY1920S1-CS2103T-T10-1:master Sep 24, 2019
@marcfyk marcfyk added this to the Update Commands to support inverse execution milestone Oct 1, 2019
@marcfyk marcfyk changed the title Add CommandCache Add CommandDeque Oct 1, 2019
@marcfyk marcfyk modified the milestones: Update Commands to support inverse execution, Add CommandDeque to store a Deque of Commands, Integrate Undo / Redo Feature Oct 1, 2019
nishcafe added a commit that referenced this pull request Oct 13, 2019
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.

None yet

1 participant