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

[Edit] Subject: Java/HashMaps - additional methods #4172

Closed
1 of 3 tasks
JustinhSE opened this issue Jan 4, 2024 · 5 comments
Closed
1 of 3 tasks

[Edit] Subject: Java/HashMaps - additional methods #4172

JustinhSE opened this issue Jan 4, 2024 · 5 comments
Labels
enhancement New feature or request typo Fixing a typo

Comments

@JustinhSE
Copy link
Contributor

Type of Edit (select all that apply)

Add new content (definitions, codeblocks, etc.)

Description (optional)

Addition of the following built-in methods:

  • map.containsKey(___)
  • map.containsValue(___)
  • map.replace(____ , _____)
    • replaces a current element
  • map.putIfAbsent(,_)
    • if the element isn't there, insert it

Expectation:
explanation of each method and codebyte of each method being shown

Code of Conduct

  • By submitting this issue, I agree to follow Codecademy Doc's Code of Conduct.

For Maintainers

  • Labels added
  • Issue is assigned
@JustinhSE JustinhSE added enhancement New feature or request typo Fixing a typo labels Jan 4, 2024
@Abdouhaji
Copy link

@JustinhSE I am interested in taking this issue on, kindly assign it to me.

@JustinhSE
Copy link
Contributor Author

@dakshdeepHERE

@dakshdeepHERE
Copy link
Collaborator

@JustinhSE these are methods that we can apply on hashmap. So for each of these methods we will have to create separate term entries. In hashmap folder we will have to create a folder called terms and put all these methods entries in it.

@dakshdeepHERE
Copy link
Collaborator

I will close this Issue and create separate ones for these methods. @Abdouhaji please check the new issue that I will create based on this issue.

@Codecademy Codecademy deleted a comment from github-actions bot Jan 5, 2024
@dakshdeepHERE
Copy link
Collaborator

@Abdouhaji please checkout the new issues. Thank you for creating this @JustinhSE 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request typo Fixing a typo
Projects
None yet
Development

No branches or pull requests

3 participants