Xcuello před 6 roky
rodič
revize
4fbc87e955

+ 1
- 0
src/main/java/rocks/zipcode/io/quiz3/arrays/SquareArrayAnalyzer.java Zobrazit soubor

@@ -5,6 +5,7 @@ package rocks.zipcode.io.quiz3.arrays;
5 5
  */
6 6
 public class SquareArrayAnalyzer {
7 7
     public static Boolean compare(Integer[] input, Integer[] squaredValues) {
8
+
8 9
         return null;
9 10
     }
10 11
 }

+ 5
- 0
src/main/java/rocks/zipcode/io/quiz3/arrays/TicTacToe.java Zobrazit soubor

@@ -9,22 +9,27 @@ public class TicTacToe {
9 9
     }
10 10
 
11 11
     public String[] getRow(Integer value) {
12
+
12 13
         return null;
13 14
     }
14 15
 
15 16
     public String[] getColumn(Integer value) {
17
+
16 18
         return null;
17 19
     }
18 20
 
19 21
     public Boolean isRowHomogenous(Integer rowIndex) {
22
+
20 23
         return null;
21 24
     }
22 25
 
23 26
     public Boolean isColumnHomogeneous(Integer columnIndex) {
27
+
24 28
         return null;
25 29
     }
26 30
 
27 31
     public String getWinner() {
32
+
28 33
         return null;
29 34
     }
30 35
 }

+ 1
- 0
src/main/java/rocks/zipcode/io/quiz3/arrays/WaveGenerator.java Zobrazit soubor

@@ -5,6 +5,7 @@ package rocks.zipcode.io.quiz3.arrays;
5 5
  */
6 6
 public class WaveGenerator {
7 7
     public static String[] wave(String str) {
8
+
8 9
         return null;
9 10
     }
10 11
 }

+ 4
- 0
src/main/java/rocks/zipcode/io/quiz3/collections/Lab.java Zobrazit soubor

@@ -4,7 +4,9 @@ package rocks.zipcode.io.quiz3.collections;
4 4
  * @author leon on 10/12/2018.
5 5
  */
6 6
 public class Lab {
7
+
7 8
     public Lab() {
9
+
8 10
         this(null);
9 11
     }
10 12
 
@@ -12,6 +14,7 @@ public class Lab {
12 14
     }
13 15
 
14 16
     public String getLabStatus() {
17
+
15 18
         return null;
16 19
     }
17 20
 
@@ -19,6 +22,7 @@ public class Lab {
19 22
     }
20 23
 
21 24
     public String getName() {
25
+
22 26
         return null;
23 27
     }
24 28
 }

+ 2
- 0
src/main/java/rocks/zipcode/io/quiz3/collections/Student.java Zobrazit soubor

@@ -13,6 +13,7 @@ public class Student {
13 13
     }
14 14
 
15 15
     public Student(Map<Lab, LabStatus> map) {
16
+
16 17
     }
17 18
 
18 19
     public void setLabStatus(Lab lab, LabStatus labStatus) {
@@ -23,6 +24,7 @@ public class Student {
23 24
     }
24 25
 
25 26
     public LabStatus getLabStatus(String labName) {
27
+
26 28
         throw new UnsupportedOperationException("Method not yet implemented");
27 29
     }
28 30
 }

+ 1
- 0
src/main/java/rocks/zipcode/io/quiz3/fundamentals/PigLatinGenerator.java Zobrazit soubor

@@ -5,6 +5,7 @@ package rocks.zipcode.io.quiz3.fundamentals;
5 5
  */
6 6
 public class PigLatinGenerator {
7 7
     public String translate(String str) {
8
+
8 9
         return null;
9 10
     }
10 11
 }

+ 3
- 1
src/main/java/rocks/zipcode/io/quiz3/fundamentals/StringUtils.java Zobrazit soubor

@@ -5,10 +5,12 @@ package rocks.zipcode.io.quiz3.fundamentals;
5 5
  */
6 6
 public class StringUtils {
7 7
     public static String capitalizeNthCharacter(String str, Integer indexToCapitalize) {
8
+
8 9
         return null;
9 10
     }
10 11
 
11 12
     public static Boolean isCharacterAtIndex(String baseString, Character characterToCheckFor, Integer indexOfString) {
12
-        return null;
13
+
14
+       return null;
13 15
     }
14 16
 }

+ 4
- 0
src/main/java/rocks/zipcode/io/quiz3/fundamentals/VowelUtils.java Zobrazit soubor

@@ -5,19 +5,23 @@ package rocks.zipcode.io.quiz3.fundamentals;
5 5
  */
6 6
 public class VowelUtils {
7 7
     public static Boolean hasVowels(String word) {
8
+
8 9
         return null;
9 10
     }
10 11
 
11 12
     public static Integer getIndexOfFirstVowel(String word) {
13
+
12 14
         return null;
13 15
     }
14 16
 
15 17
 
16 18
     public static Boolean startsWithVowel(String word) {
19
+
17 20
         return null;
18 21
     }
19 22
 
20 23
     public static Boolean isVowel(Character character) {
24
+
21 25
         return null;
22 26
     }
23 27
 }

+ 5
- 0
src/main/java/rocks/zipcode/io/quiz3/generics/ArrayUtility.java Zobrazit soubor

@@ -9,22 +9,27 @@ public class ArrayUtility<SomeType> {
9 9
     private final SomeType[] array;
10 10
 
11 11
     public ArrayUtility(SomeType[] array) {
12
+
12 13
         this.array = array;
13 14
     }
14 15
 
15 16
     public SomeType findOddOccurringValue() {
17
+
16 18
         return null;
17 19
     }
18 20
 
19 21
     public SomeType findEvenOccurringValue() {
22
+
20 23
         return null;
21 24
     }
22 25
 
23 26
     public Integer getNumberOfOccurrences(SomeType valueToEvaluate) {
27
+
24 28
         return null;
25 29
     }
26 30
 
27 31
     public SomeType[] filter(Function<SomeType, Boolean> predicate) {
32
+
28 33
         return null;
29 34
     }
30 35
 }

+ 5
- 1
src/main/java/rocks/zipcode/io/quiz3/objectorientation/enums/RockPaperScissorHandSign.java Zobrazit soubor

@@ -4,13 +4,17 @@ package rocks.zipcode.io.quiz3.objectorientation.enums;
4 4
  * @author leon on 09/12/2018.
5 5
  */
6 6
 public enum RockPaperScissorHandSign {
7
-    ADD_ENUMERATIONS_HERE;
7
+
8
+    ROCK_PAPER_SCISSOR_HAND_SIGN;
8 9
 
9 10
     public RockPaperScissorHandSign getWinner() {
11
+
10 12
         return null;
11 13
     }
12 14
 
13 15
     public RockPaperScissorHandSign getLoser() {
16
+
14 17
         return null;
15 18
     }
16 19
 }
20
+

+ 1
- 0
src/test/java/rocks/zipcode/io/quiz3/objectorientation/enums/rockpaperscissors/RockTest.java Zobrazit soubor

@@ -9,6 +9,7 @@ import rocks.zipcode.io.quiz3.objectorientation.enums.RockPaperScissorHandSign;
9 9
  * @author leon on 09/12/2018.
10 10
  */
11 11
 public class RockTest {
12
+
12 13
     private RockPaperScissorHandSign sign;
13 14
 
14 15
     @Before