File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
src/main/java/dev/jacobandersen/codechallenges/util Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
package dev .jacobandersen .codechallenges .util ;
2
2
3
3
import java .lang .reflect .Array ;
4
- import java .util .*;
4
+ import java .util .ArrayList ;
5
+ import java .util .Arrays ;
6
+ import java .util .List ;
5
7
6
8
public class Matrix <T > {
7
9
private final Class <T > type ;
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ public UInt16(char value) {
11
11
this .inner = value ;
12
12
}
13
13
14
- public void setValue (char value ) {
15
- this .inner = value ;
16
- }
17
-
18
14
public char getValue () {
19
15
return (char ) this .inner ;
20
16
}
21
17
18
+ public void setValue (char value ) {
19
+ this .inner = value ;
20
+ }
21
+
22
22
public UInt16 logicalAnd (UInt16 other ) {
23
23
return new UInt16 ((char ) (getValue () & other .getValue ()));
24
24
}
@@ -41,6 +41,6 @@ public UInt16 leftShift(UInt16 other) {
41
41
42
42
@ Override
43
43
public String toString () {
44
- return String .valueOf ((int )getValue ());
44
+ return String .valueOf ((int ) getValue ());
45
45
}
46
46
}
You can’t perform that action at this time.
0 commit comments