Skip to content

Commit 1610c8c

Browse files
committed
Added the methods that UserDatabase must implement
1 parent 6b8be94 commit 1610c8c

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

src/main/java/UserAccounts.csv

Whitespace-only changes.

src/main/java/UserCreator.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
public interface UserCreator {
2+
void createUser();
3+
}

src/main/java/UserDatabase.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
public class UserDatabase implements UserRegPresenter, UserCreator{
2+
@Override
3+
public boolean UserExists() {
4+
return false;
5+
}
6+
7+
@Override
8+
public void createUser() {
9+
10+
}
11+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
public interface UserRegPresenter {
2+
boolean UserExists();
3+
}

0 commit comments

Comments
 (0)