Skip to content

Commit eb1bbc7

Browse files
committed
Initial commit
1 parent a8a2b21 commit eb1bbc7

File tree

6 files changed

+51
-2
lines changed

6 files changed

+51
-2
lines changed

.classpath

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
4+
<classpathentry kind="src" path="/DesignPatternsJava9/src"/>
5+
<classpathentry kind="output" path="bin"/>
6+
</classpath>

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Compiled class file
2+
.idea/*
23
*.class
34

45
# Log file
56
*.log
6-
7+
*.iws
78
# BlueJ files
89
*.ctxt
910

.project

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>DesignPatternsJava9</name>
4+
<comment/>
5+
<projects/>
6+
<buildSpec>
7+
<buildCommand>
8+
<name>org.eclipse.jdt.core.javabuilder</name>
9+
<arguments/>
10+
</buildCommand>
11+
</buildSpec>
12+
<natures>
13+
<nature>org.eclipse.jdt.core.javanature</nature>
14+
</natures>
15+
</projectDescription>

DesignPatternsJava9.eml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component inheritJdk="true">
3+
<output-test url="file://$MODULE_DIR$/bin/test/DesignPatternsJava9"/>
4+
<exclude-output/>
5+
<contentEntry url="file://$MODULE_DIR$"/>
6+
</component>

DesignPatternsJava9.iml

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

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
11
# DesignPatternsJava9
2-
This repo consists Gang of Four Design patterns code on Java 9. Each branch in the repository has code of 1 design pattern. Switch repository to try out different design patterns.
2+
This repository contains working code examle used for Video Course by Packt Publication with title "Learn Design Patterns with Java " authored by "Aseem Jain".
3+
4+
The link of the course is https://www.packtpub.com/application-development/learn-design-patterns-java-9-video
5+
6+
This repository has several branches and each branch contains code of a design pattern.
7+
8+
To look at code of Decorator pattern you might have to switch to branch decorator pattern eg. link https://github.com/premaseem/DesignPatternsJava9/tree/decorator-pattern
9+
10+
Note: This code base will work on Java 9 and above versions.

0 commit comments

Comments
 (0)