# rvenkatesh44/basic-function architecture

> Architecture diagram of the GitHub repository rvenkatesh44/basic-function, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rvenkatesh44/basic-function
- Repository: https://github.com/rvenkatesh44/basic-function

## Overview

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`](https://github.com/rvenkatesh44/basic-function/blob/master/Occurences.java) (Character scanner)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_occurences["Character scanner<br/>[Occurences.java]"]
node_map["Character map<br/>[Occurences.java]"]
node_console["Console"]

node_user -.->|"runs main"| node_occurences
node_occurences -->|"updates and reads"| node_map
node_occurences -->|"prints entries"| node_console

click node_occurences "https://github.com/rvenkatesh44/basic-function/blob/master/Occurences.java"
click node_map "https://github.com/rvenkatesh44/basic-function/blob/master/Occurences.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user toneBlue
class node_occurences,node_map toneTeal
class node_console toneIndigo
```

## Components

### Other components

- **User**
- [Character scanner](https://github.com/rvenkatesh44/basic-function/blob/master/Occurences.java): `Occurences.java`
- [Character map](https://github.com/rvenkatesh44/basic-function/blob/master/Occurences.java): `Occurences.java`
- **Console**

## Connections

- User → Character scanner: runs main
- Character scanner → Character map: updates and reads (evidence: `Occurences.java`)
- Character scanner → Console: prints entries (evidence: `Occurences.java`)
