# ramya07/java8andabove architecture

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

- Interactive diagram: https://gitdiagram.com/ramya07/java8andabove
- Repository: https://github.com/ramya07/java8andabove

## Overview

This repository is a collection of Java examples for learning core Java and functional programming concepts, rather than a single application workflow. The tree identifies lesson topics and example files, but the README provides no behavioral documentation and no source excerpts were available. Accordingly, the graph groups the examples by topic and shows no call or data-flow edges; their execution relationships cannot be verified from the available evidence.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Imperative And Lambdas"]
  node_imperative1["Imperative Example"]
  node_imperative2["Declarative Example"]
  node_lambda1["Lambda Example<br/>[LambdaExample.java]"]
  node_lambda2["Lambda Example Two"]
end

subgraph group_functional["Functional Interfaces"]
  node_bi_consumer["BiConsumer Use Case"]
  node_bi_function["BiFunction Use Case"]
  node_bi_predicate["BiPredicate Use Case"]
  node_binary_operator["Binary Operator Use Case"]
  node_consumer_example["Consumer Example"]
  node_consumer_usecase["Consumer Use Case"]
  node_custom_interface["Custom Functional Interface"]
  node_function_usecase["Function Use Case"]
  node_predicate_consumer["Predicate Consumer Example"]
  node_predicate_usecase["Predicate Use Case"]
  node_premium_calculator["Premium Calculator"]
  node_supplier_usecase["Supplier Use Case"]
  node_unary_usecase["Unary Operator Use Case"]
end

subgraph group_references["Lambda Variations"]
  node_method_reference["Method Reference Example"]
  node_constructor_reference["Constructor Reference Example"]
  node_local_lambda["Lambda Local Variables"]
end

subgraph group_streams["Stream Processing"]
  node_stream_example["Stream Example<br/>[StreamExample.java]"]
  node_stream_reduce["Stream Reduce<br/>[StreamReduce.java]"]
  node_stream_sort["Custom Stream Sorting"]
  node_stream_filter["Stream Filter"]
  node_stream_operations["Stream Operations"]
end

subgraph group_core["Core Java And Models"]
  node_main["Main Class<br/>[Main.java]"]
  node_student["Student Model<br/>[Student.java]"]
  node_student_mock["Student Mock Object"]
  node_array_list["ArrayList Example"]
  node_second_largest["Second Largest Number"]
  node_string_immutable["String Immutability"]
end

click node_imperative1 "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson1_ImpVsDec/ImperativeVSDeclarative.java"
click node_imperative2 "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson1_ImpVsDec/ImperativeVSDeclarative1.java"
click node_lambda1 "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson2_Lambdas/LambdaExample.java"
click node_lambda2 "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson2_Lambdas/LambdaExample2.java"
click node_bi_consumer "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/BiConsumerRealUsecase.java"
click node_bi_function "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/BiFunctionRealUseCase.java"
click node_bi_predicate "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/BiPredicateRealUsecase.java"
click node_binary_operator "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/BinaryOperatorRealUsecase.java"
click node_consumer_example "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/ConsumerExample.java"
click node_consumer_usecase "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/ConsumerRealUsecase.java"
click node_custom_interface "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/CustomFunctionalInterface.java"
click node_function_usecase "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/FunctionRealUsecase.java"
click node_predicate_consumer "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/PredicateConsumerExample.java"
click node_predicate_usecase "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/PredicateRealUseCase.java"
click node_premium_calculator "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/PremiumCalculator.java"
click node_supplier_usecase "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/SupplierRealUsecase.java"
click node_unary_usecase "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/UnaryRealUseCase.java"
click node_method_reference "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson4_MethodReference/MethodReferenceExample.java"
click node_constructor_reference "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson5_ConstructorReference/ConstructorReference.java"
click node_local_lambda "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson6_LocalVariablesInLambda/LocalVariableinLambdaEx.java"
click node_stream_example "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamExample.java"
click node_stream_reduce "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamReduce.java"
click node_stream_sort "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamWithCustomSorting.java"
click node_stream_filter "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamWithFilter.java"
click node_stream_operations "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamsOperations.java"
click node_main "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Main.java"
click node_student "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Model/Student.java"
click node_student_mock "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Model/StudentMockObj.java"
click node_array_list "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/core/ArrayListExample.java"
click node_second_largest "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/core/SecondLargestNumber.java"
click node_string_immutable "https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/core/StringImmutable.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_imperative1,node_imperative2,node_lambda1,node_lambda2 toneBlue
class node_bi_consumer,node_bi_function,node_bi_predicate,node_binary_operator,node_consumer_example,node_consumer_usecase,node_custom_interface,node_function_usecase,node_predicate_consumer,node_predicate_usecase,node_premium_calculator,node_supplier_usecase,node_unary_usecase toneAmber
class node_method_reference,node_constructor_reference,node_local_lambda toneMint
class node_stream_example,node_stream_reduce,node_stream_sort,node_stream_filter,node_stream_operations toneRose
class node_main,node_student,node_student_mock,node_array_list,node_second_largest,node_string_immutable toneIndigo
```

## Components

### Imperative And Lambdas

- [Imperative Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson1_ImpVsDec/ImperativeVSDeclarative.java): `src/main/java/org/example/Lesson1_ImpVsDec/ImperativeVSDeclarative.java`
- [Declarative Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson1_ImpVsDec/ImperativeVSDeclarative1.java): `src/main/java/org/example/Lesson1_ImpVsDec/ImperativeVSDeclarative1.java`
- [Lambda Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson2_Lambdas/LambdaExample.java): `src/main/java/org/example/Lesson2_Lambdas/LambdaExample.java`
- [Lambda Example Two](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson2_Lambdas/LambdaExample2.java): `src/main/java/org/example/Lesson2_Lambdas/LambdaExample2.java`

### Functional Interfaces

- [BiConsumer Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/BiConsumerRealUsecase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/BiConsumerRealUsecase.java`
- [BiFunction Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/BiFunctionRealUseCase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/BiFunctionRealUseCase.java`
- [BiPredicate Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/BiPredicateRealUsecase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/BiPredicateRealUsecase.java`
- [Binary Operator Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/BinaryOperatorRealUsecase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/BinaryOperatorRealUsecase.java`
- [Consumer Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/ConsumerExample.java): `src/main/java/org/example/Lesson3_FunctionalInterface/ConsumerExample.java`
- [Consumer Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/ConsumerRealUsecase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/ConsumerRealUsecase.java`
- [Custom Functional Interface](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/CustomFunctionalInterface.java): `src/main/java/org/example/Lesson3_FunctionalInterface/CustomFunctionalInterface.java`
- [Function Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/FunctionRealUsecase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/FunctionRealUsecase.java`
- [Predicate Consumer Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/PredicateConsumerExample.java): `src/main/java/org/example/Lesson3_FunctionalInterface/PredicateConsumerExample.java`
- [Predicate Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/PredicateRealUseCase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/PredicateRealUseCase.java`
- [Premium Calculator](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/PremiumCalculator.java): `src/main/java/org/example/Lesson3_FunctionalInterface/PremiumCalculator.java`
- [Supplier Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/SupplierRealUsecase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/SupplierRealUsecase.java`
- [Unary Operator Use Case](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson3_FunctionalInterface/UnaryRealUseCase.java): `src/main/java/org/example/Lesson3_FunctionalInterface/UnaryRealUseCase.java`

### Lambda Variations

- [Method Reference Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson4_MethodReference/MethodReferenceExample.java): `src/main/java/org/example/Lesson4_MethodReference/MethodReferenceExample.java`
- [Constructor Reference Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson5_ConstructorReference/ConstructorReference.java): `src/main/java/org/example/Lesson5_ConstructorReference/ConstructorReference.java`
- [Lambda Local Variables](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson6_LocalVariablesInLambda/LocalVariableinLambdaEx.java): `src/main/java/org/example/Lesson6_LocalVariablesInLambda/LocalVariableinLambdaEx.java`

### Stream Processing

- [Stream Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamExample.java): `src/main/java/org/example/Lesson7_Streams/StreamExample.java`
- [Stream Reduce](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamReduce.java): `src/main/java/org/example/Lesson7_Streams/StreamReduce.java`
- [Custom Stream Sorting](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamWithCustomSorting.java): `src/main/java/org/example/Lesson7_Streams/StreamWithCustomSorting.java`
- [Stream Filter](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamWithFilter.java): `src/main/java/org/example/Lesson7_Streams/StreamWithFilter.java`
- [Stream Operations](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Lesson7_Streams/StreamsOperations.java): `src/main/java/org/example/Lesson7_Streams/StreamsOperations.java`

### Core Java And Models

- [Main Class](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Main.java): `src/main/java/org/example/Main.java`
- [Student Model](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Model/Student.java): `src/main/java/org/example/Model/Student.java`
- [Student Mock Object](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/Model/StudentMockObj.java): `src/main/java/org/example/Model/StudentMockObj.java`
- [ArrayList Example](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/core/ArrayListExample.java): `src/main/java/org/example/core/ArrayListExample.java`
- [Second Largest Number](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/core/SecondLargestNumber.java): `src/main/java/org/example/core/SecondLargestNumber.java`
- [String Immutability](https://github.com/ramya07/java8andabove/blob/main/src/main/java/org/example/core/StringImmutable.java): `src/main/java/org/example/core/StringImmutable.java`
