Skip to content

Conversation

coderFlameyosFlow
Copy link
Owner

  1. BaseMenu implements Iterable; iterator() provides the MenuIterator made by Mqzen (Thank you so much bro <3)
  2. Streams + Parallel streams + forEach can now be used on BaseMenu's items.
  3. Dynamic Sizing; Optional, automatic resizing when the inventory is full (first release)
  4. hasItem; check if the menu contains an item
  5. switch to LinkedHashMap<Integer, MenuItem> from List; Balanced remove, put (aka add/set), contains and more, less checks, more readability

1. BaseMenu implements Iterable<MenuItem>; iterator() provides the MenuIterator made by Mqzen (Thank you so much bro <3)
2. Streams + Parallel streams + forEach can now be used on BaseMenu's items.
3. Dynamic Sizing; Optional, automatic resizing when the inventory is full (first release)
4. hasItem; check if the menu contains an item
5. switch to LinkedHashMap<Integer, MenuItem> from List<MenuItem>; Balanced remove, put (aka add/set), contains and more, less checks, more readability
@coderFlameyosFlow coderFlameyosFlow merged commit cda86a0 into main Aug 28, 2023
@coderFlameyosFlow coderFlameyosFlow deleted the coderFlameyosFlow-BaseMenu branch August 28, 2023 18:09
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