Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions h1.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
welcome to saumya
234e32
243
4
Expand Down
1 change: 1 addition & 0 deletions hello.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Sandeep
Rishav
Ch-sriram
11
2122
Expand Down
17 changes: 17 additions & 0 deletions src/Main.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.stream.Collectors;

//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
public class Main {
public static void main(String[] args) {
//Remove all duplcate words from String
String s= "ABC DE ABC";

Set<String> map= Arrays.stream(s.split(" ")).collect(Collectors.toCollection(LinkedHashSet::new));
System.out.println(map);

}
}
5 changes: 5 additions & 0 deletions src/Operation/Add
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Addition
multiply
devision
newly added branch
feat2
4 changes: 4 additions & 0 deletions src/Operation/Add.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package Operation;

public class Add {
}
4 changes: 4 additions & 0 deletions src/Operation/MultiPlication.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package Operation;

public class MultiPlication {
}
2 changes: 2 additions & 0 deletions src/Operation/Multiply
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Multiply
division
1 change: 1 addition & 0 deletions src/Operation/Subtract
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Subtraction
4 changes: 4 additions & 0 deletions src/Operation/Subtract.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package Operation;

public class Subtract {
}
11 changes: 11 additions & 0 deletions untitled.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>