From d3f8d942c493d63b7a84c93b9cc083c86b7ebb28 Mon Sep 17 00:00:00 2001 From: dadgam3er Date: Mon, 9 Sep 2024 16:08:48 -0400 Subject: [PATCH] newClass --- BrushUpJava.iml | 11 ++++++ Interfaces/.idea/Interfaces.iml | 12 ++++++ Interfaces/Attack.java | 3 ++ Interfaces/Eagle.java | 10 +++++ Interfaces/Hide.java | 3 ++ .../Interfaces/.idea/Interfaces.iml | 11 ++++++ MvnDemo/.gitignore | 38 +++++++++++++++++++ MvnDemo/.idea/.gitignore | 3 ++ MvnDemo/.idea/encodings.xml | 7 ++++ MvnDemo/.idea/misc.xml | 14 +++++++ MvnDemo/.idea/vcs.xml | 7 ++++ MvnDemo/pom.xml | 31 +++++++++++++++ MvnDemo/src/main/java/PrepSession/App.java | 13 +++++++ .../src/test/java/PrepSession/AppTest.java | 38 +++++++++++++++++++ ReverseNestedLoop.java | 4 +- out/production/BrushUpJava/BrushUpJava.iml | 11 ++++++ 16 files changed, 214 insertions(+), 2 deletions(-) create mode 100644 BrushUpJava.iml create mode 100644 Interfaces/.idea/Interfaces.iml create mode 100644 Interfaces/Attack.java create mode 100644 Interfaces/Eagle.java create mode 100644 Interfaces/Hide.java create mode 100644 Interfaces/out/production/Interfaces/.idea/Interfaces.iml create mode 100644 MvnDemo/.gitignore create mode 100644 MvnDemo/.idea/.gitignore create mode 100644 MvnDemo/.idea/encodings.xml create mode 100644 MvnDemo/.idea/misc.xml create mode 100644 MvnDemo/.idea/vcs.xml create mode 100644 MvnDemo/pom.xml create mode 100644 MvnDemo/src/main/java/PrepSession/App.java create mode 100644 MvnDemo/src/test/java/PrepSession/AppTest.java create mode 100644 out/production/BrushUpJava/BrushUpJava.iml diff --git a/BrushUpJava.iml b/BrushUpJava.iml new file mode 100644 index 0000000..b107a2d --- /dev/null +++ b/BrushUpJava.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Interfaces/.idea/Interfaces.iml b/Interfaces/.idea/Interfaces.iml new file mode 100644 index 0000000..db20b8d --- /dev/null +++ b/Interfaces/.idea/Interfaces.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/Interfaces/Attack.java b/Interfaces/Attack.java new file mode 100644 index 0000000..4e8a1bc --- /dev/null +++ b/Interfaces/Attack.java @@ -0,0 +1,3 @@ +public interface Attack { + void Attacking(); +} diff --git a/Interfaces/Eagle.java b/Interfaces/Eagle.java new file mode 100644 index 0000000..a7fbe43 --- /dev/null +++ b/Interfaces/Eagle.java @@ -0,0 +1,10 @@ +public class Eagle implements Attack{ + public static void main(String[] args) { + + } + + @Override + public void Attacking() { + System.out.println("The Eagle is going crazy and I can't fucking find his prey."); + } +} diff --git a/Interfaces/Hide.java b/Interfaces/Hide.java new file mode 100644 index 0000000..13ddb35 --- /dev/null +++ b/Interfaces/Hide.java @@ -0,0 +1,3 @@ +public interface Hide { + void Hiding(); +} diff --git a/Interfaces/out/production/Interfaces/.idea/Interfaces.iml b/Interfaces/out/production/Interfaces/.idea/Interfaces.iml new file mode 100644 index 0000000..b107a2d --- /dev/null +++ b/Interfaces/out/production/Interfaces/.idea/Interfaces.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/MvnDemo/.gitignore b/MvnDemo/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/MvnDemo/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/MvnDemo/.idea/.gitignore b/MvnDemo/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/MvnDemo/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/MvnDemo/.idea/encodings.xml b/MvnDemo/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/MvnDemo/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/MvnDemo/.idea/misc.xml b/MvnDemo/.idea/misc.xml new file mode 100644 index 0000000..82dbec8 --- /dev/null +++ b/MvnDemo/.idea/misc.xml @@ -0,0 +1,14 @@ + + + + + + + + + + \ No newline at end of file diff --git a/MvnDemo/.idea/vcs.xml b/MvnDemo/.idea/vcs.xml new file mode 100644 index 0000000..288b36b --- /dev/null +++ b/MvnDemo/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/MvnDemo/pom.xml b/MvnDemo/pom.xml new file mode 100644 index 0000000..b79a544 --- /dev/null +++ b/MvnDemo/pom.xml @@ -0,0 +1,31 @@ + + 4.0.0 + + PrepSession + MvnDemo + 1.0-SNAPSHOT + jar + + MvnDemo + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 3.8.1 + test + + + junit + junit + 4.13.2 + test + + + diff --git a/MvnDemo/src/main/java/PrepSession/App.java b/MvnDemo/src/main/java/PrepSession/App.java new file mode 100644 index 0000000..9957678 --- /dev/null +++ b/MvnDemo/src/main/java/PrepSession/App.java @@ -0,0 +1,13 @@ +package PrepSession; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/MvnDemo/src/test/java/PrepSession/AppTest.java b/MvnDemo/src/test/java/PrepSession/AppTest.java new file mode 100644 index 0000000..b1f153e --- /dev/null +++ b/MvnDemo/src/test/java/PrepSession/AppTest.java @@ -0,0 +1,38 @@ +package PrepSession; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/ReverseNestedLoop.java b/ReverseNestedLoop.java index bc6a7fe..646d24a 100644 --- a/ReverseNestedLoop.java +++ b/ReverseNestedLoop.java @@ -10,9 +10,9 @@ public class ReverseNestedLoop { for (int i = 1; i <= 4; i++) { System.out.println(""); for (int j = 1; j <= i; j++) { - System.out.print(r); + System.out.print(j); System.out.print("\t"); - r++; + // r++; } } } diff --git a/out/production/BrushUpJava/BrushUpJava.iml b/out/production/BrushUpJava/BrushUpJava.iml new file mode 100644 index 0000000..b107a2d --- /dev/null +++ b/out/production/BrushUpJava/BrushUpJava.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file