Skip to content

Commit aaa34d6

Browse files
committed
Task 1 : Upload All files
0 parents  commit aaa34d6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3523
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Project exclude paths
2+
/out/

.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/uiDesigner.xml

+124
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

JavaStreamAPIExamples.iml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_15" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$">
6+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7+
</content>
8+
<orderEntry type="inheritedJdk" />
9+
<orderEntry type="sourceFolder" forTests="false" />
10+
</component>
11+
</module>

README.md

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Java Stream API EXAMPLES
2+
3+
<img src="screenshots/javastream_image.PNG" alt="Main Information" width="200" height="200">
4+
5+
## Description
6+
<ul style="list-style-type:disc">
7+
<li>There are some examples of Java Stream API which I've done </li>
8+
<li>All these examples are implemented java stream features</li>
9+
</ul>
10+
11+
### Description of the Methods
12+
<table style="width:100%">
13+
<tr>
14+
<th>Folder</th>
15+
<th>Description</th>
16+
</tr>
17+
<tr>
18+
<td>arraynumberexample</td>
19+
<td>Sample Implementation of java stream features containing map, reduce , limit, sorted, max, min, Comparator.comparing, filter, Collections.frequency, average, orElse, mapToInt</td>
20+
</tr>
21+
<tr>
22+
<td>banktransactionexample</td>
23+
<td>This is a bank transaction example implemented by java stream including in Comparator, Comparator.comparing, filter, count, max, min/td>
24+
</tr>
25+
<tr>
26+
<td>employeedata</td>
27+
<td>Employee data is used for FilterConsumerPredicateExample located under funcationalexamples</td>
28+
</tr>
29+
<tr>
30+
<td>employeeexample</td>
31+
<td>Well defined example of the usage of java stream features comprised of Collectors.groupingBy, Collectors.counting, Collectors.groupingBy, Collectors.maxBy, Comparator.comparingDouble, sorted, reversed, max, Comparator.comparingInt, Collectors.partitioningBy, Collectors.summarizingDouble, filter, min, Collectors.averagingDouble, map, Collectors.averagingInt </td>
32+
</tr>
33+
<tr>
34+
<td>footballeagueexample</td>
35+
<td>This is the football league example with the usage of Comparator provided by Java stream featues</td>
36+
</tr>
37+
<tr>
38+
<td>footballteambyleagueandteamtype</td>
39+
<td>Well defined example of the usage of java stream features with the usage of Collectors.groupingBy, Collectors.summingInt, Collectors.summarizingInt, Collectors.counting, Collectors.partitioningBy, Collectors.joining, Collectors.mapping, computeIfAbsent</td>
40+
</tr>
41+
<tr>
42+
<td>functionalexamples</td>
43+
<td>Simple example of the usage of java stream features with showing how to use noneMatch, anyMatch, allMatch, compareTo, BiConsumer, accept, Consumer, distinct, filter, sorted, Comparator, reversed, thenComparing, flatMap</td>
44+
</tr>
45+
<tr>
46+
<td>movieexample</td>
47+
<td>Well-defined implementation of java stream features involving in filter, flatMap, Collectors.groupingBy, Collectors.counting, Collectors.mapping, count, Comparator, max, min, mapToLong , sum, sorted, findFirst, anyMatch, distinct, forEach, computeIfAbsent, Predicate, negate</td>
48+
</tr>
49+
<tr>
50+
<td>studentdata</td>
51+
<td>Employee data is used for ConsumerExample located under funcationalexamples</td>
52+
</tr>
53+
</table>
54+
55+
56+
### Usage of Technology
57+
* Java 15
58+
59+
### 🔨 Run the App
60+
61+
<b>1 )</b> Clone project from github
62+
```
63+
File
64+
-> New
65+
-> Project from Version Control
66+
-> Paste the git url and Click Clone
67+
```
68+
<b>2 )</b> Click "Run"

screenshots/javastream_image.PNG

785 KB
Loading

0 commit comments

Comments
 (0)