1
0
Fork 0

Input package and interface creation, creation of enumerators Presentation, Order, Gender

This commit is contained in:
KEZEL BENOIT p1907091 2020-04-01 15:59:56 +02:00
parent 85018f8aa0
commit 3876e8f71e
4 changed files with 25 additions and 0 deletions

6
src/input/Gender.java Normal file
View file

@ -0,0 +1,6 @@
package input;
public enum Gender {
MEN,
WOMEN;
}

6
src/input/Input.java Normal file
View file

@ -0,0 +1,6 @@
package input;
public interface Input {
public String toString(Presentation presentation, Order order);
public boolean research(String search);
}

6
src/input/Order.java Normal file
View file

@ -0,0 +1,6 @@
package input;
public enum Order {
LAST_FIRST,
FIRST_LAST;
}

View file

@ -0,0 +1,7 @@
package input;
public enum Presentation {
SHORT,
SIMPLE,
COMPLETE;
}