Skip to content

AsrielDreemurrGM/Collections_Part_2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Collections_Part_2

About
Groups and sorts names and genders from console input using Java collections like TreeMap.

Commits

May 19, 2025

  • Grouped Names By Gender From Console Input
    • Read names and genders from user input via console;
    • Grouped people by gender using TreeMap for sorting;
    • Printed results with proper formatting for each group.

May 18, 2025

  • Completed Part One Of The Activity
    • Read names separated by commas using nextLine();
    • Split input string and trimmed names;
    • Stored names in a TreeMap for automatic sorting;
    • Printed original and alphabetically sorted names;
    • Prevented trailing comma using lastKey() comparison.

May 17, 2025

  • Initial Commit – Created base project and .gitignore.

About

Java project using TreeMap to organize and group user-provided names and genders with sorted output.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages