Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/georgiosioannoucoder/java8-lambdas-streams

Java 8’s Lambdas and Streams. λ
https://github.com/georgiosioannoucoder/java8-lambdas-streams

java-8 java8 java8-lambda-expression java8-stream

Last synced: about 1 month ago
JSON representation

Java 8’s Lambdas and Streams. λ

Awesome Lists containing this project

README

        

# Java’s Lambdas and Streams | Java on Steroids

[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]
[![GitHub][github-shield]][github-url]




Logo

Java’s Lambdas and Streams


In this assignment I worked with Java’s Lambdas and Streams as an alternative to traditional procedural programming. None of the required work uses a 𝐹𝑂𝑅, 𝑊𝐻𝐼𝐿𝐸, or 𝐷𝑂 …𝑊𝐻𝐼𝐿𝐸 loops; I only use functional programming
reductions and intermediate operations.
Conditional structures (IF, SWITCH, and
Turnery operator) are OK.


Explore the docs »




Report Bug
·
Request Feature


Table of Contents



  1. About The Project



  2. Getting Started


  3. Code

  4. Demo

  5. Contributing

  6. License

  7. Contact

## About The Project

Logo

## Requirements

You can find the requirements of this assignment [here](https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/blob/main/Ioannou_java8_lambdas_streams_Requirements.pdf).

Back to top

### Built With

[![Java][Java]][Java-url]
[![IntelliJIDEA][IntelliJIDEA]][IntelliJIDEA-url]
[![Git][Git]][Git-url]

Back to top

## Getting Started

**To get a local copy of this project up and running locally follow these simple example steps:**

### Prerequisites

**NOTE:** How to check if Git is installed and what is its version

```sh
git -v
```

1. Please make sure you have git installed

- Windows: [https://git-scm.com/download/win](https://git-scm.com/download/win)
- Mac: [https://git-scm.com/download/mac](https://git-scm.com/download/mac)
- Linux: [https://git-scm.com/download/linux](https://git-scm.com/download/linux)

2. Please make sure you have [IntelliJ IDEA](https://www.jetbrains.com/idea/) installed. You can download IntelliJ IDEA [here](https://www.jetbrains.com/idea/download/).

***NOTE: You can use whatever code editor that you want. This project was created and tested with IntelliJ IDEA.***

### SetUp

1. Navigate to the directory where you want to clone/run/save the application

```sh
cd your_selected_directory
```

2. Clone this repository

```sh
git clone https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams.git
```

3. Navigate to the java8-lambdas-streams git repository

```sh
cd java8-lambdas-streams
```

4. Open your file explorer

```sh
start .
```

5. Open IntelliJ IDEA.

6. Click on open/import an existing in IntelliJ IDEA.

7. Open the Ioannou_java8_lambdas_streams directory found inside thh java8-lambdas-streams directory from steps 3 and 4 inside IntelliJ IDEA.

8. Run the application inside IntelliJ IDEA. The main function to run the application is in this [file](https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/blob/main/Ioannou_java8_lambdas_streams/src/A6_Test.java).

Back to top

## Code

The main code file can be found [here](https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/blob/main/Ioannou_java8_lambdas_streams/src/A6Utilities.java).

Back to top

## Demo

https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/assets/110848236/36651141-f0e6-46da-a581-86f26d7d1f44

Back to top

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

Back to top

## License

Distributed under the MIT License. See [LICENSE](https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/blob/master/LICENSE) for more information.

MIT License

Copyright (c) 2021 Georgios Ioannou

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Back to top

## Contact

Georgios Ioannou - [@LinkedIn](https://linkedin.com/in/georgiosioannoucoder)

Georgios Ioannou - [@georgiosioannoucoder](https://georgiosioannoucoder.github.io/) - Please contact me via the form in my portfolio.

Project Link: [https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams](https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams)

Back to top

[contributors-shield]: https://img.shields.io/github/contributors/GeorgiosIoannouCoder/java8-lambdas-streams.svg?style=for-the-badge
[contributors-url]: https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/graphs/contributors

[forks-shield]: https://img.shields.io/github/forks/GeorgiosIoannouCoder/java8-lambdas-streams.svg?style=for-the-badge
[forks-url]: https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/network/members

[stars-shield]: https://img.shields.io/github/stars/GeorgiosIoannouCoder/java8-lambdas-streams.svg?style=for-the-badge
[stars-url]: https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/stargazers

[issues-shield]: https://img.shields.io/github/issues/GeorgiosIoannouCoder/java8-lambdas-streams.svg?style=for-the-badge
[issues-url]: https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/issues

[license-shield]: https://img.shields.io/github/license/GeorgiosIoannouCoder/java8-lambdas-streams.svg?style=for-the-badge
[license-url]: https://github.com/GeorgiosIoannouCoder/java8-lambdas-streams/blob/master/LICENSE

[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=0077B5
[linkedin-url]: https://linkedin.com/in/georgiosioannoucoder

[github-shield]: https://img.shields.io/badge/-GitHub-black.svg?style=for-the-badge&logo=github&colorB=000
[github-url]: https://github.com/GeorgiosIoannouCoder/

[Java]: https://img.shields.io/badge/java-5382a1?style=for-the-badge&logo=openjdk&logoColor=f89820
[Java-url]: https://www.java.com/

[IntelliJIDEA]: https://img.shields.io/badge/intellij%20idea-000000?style=for-the-badge&logo=intellijidea&logoColor=
[IntelliJIDEA-url]: https://www.jetbrains.com/idea/

[Git]: https://img.shields.io/badge/git-000000?style=for-the-badge&logo=git&logoColor=orange
[Git-url]: https://git-scm.com/