How rvenkatesh44/basic-function works
This is a tiny Java example, not a larger application: Occurences.java scans a fixed sentence, stores each distinct non-space character in a HashMap, then prints the stored entries. Because the map is populated only when a character is not already present, every printed value is 1; the code does not calculate full character frequencies. The README is empty, and Hashmp.java has no sampled implementation, so the graph covers only the behavior visible in Occurences.java.
Main entry points: Occurences.java Character scanner
Components 4
Other components
- User
- Character scanner
Occurences.java - Character map
Occurences.java - Console
Connections 3
- User → Character scanner: runs main
- Character scanner → Character map: updates and reads
Occurences.java - Character scanner → Console: prints entries
Occurences.java