Input package and interface creation, creation of enumerators Presentation, Order, Gender
This commit is contained in:
parent
85018f8aa0
commit
3876e8f71e
4 changed files with 25 additions and 0 deletions
6
src/input/Gender.java
Normal file
6
src/input/Gender.java
Normal file
|
@ -0,0 +1,6 @@
|
|||
package input;
|
||||
|
||||
public enum Gender {
|
||||
MEN,
|
||||
WOMEN;
|
||||
}
|
6
src/input/Input.java
Normal file
6
src/input/Input.java
Normal 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
6
src/input/Order.java
Normal file
|
@ -0,0 +1,6 @@
|
|||
package input;
|
||||
|
||||
public enum Order {
|
||||
LAST_FIRST,
|
||||
FIRST_LAST;
|
||||
}
|
7
src/input/Presentation.java
Normal file
7
src/input/Presentation.java
Normal file
|
@ -0,0 +1,7 @@
|
|||
package input;
|
||||
|
||||
public enum Presentation {
|
||||
SHORT,
|
||||
SIMPLE,
|
||||
COMPLETE;
|
||||
}
|
Reference in a new issue