Skip to content

Commit 3fc7fd2

Browse files
committed
"First Commit"
1 parent 7465313 commit 3fc7fd2

File tree

5 files changed

+20
-4
lines changed

5 files changed

+20
-4
lines changed

com/company/LearningZone.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.company;
22

3+
import com.company.Person.Gender;
4+
import com.company.Person.Person;
35
import com.company.Vehicles.VehicleType;
46

57
import java.util.ArrayList;

com/company/Gender.java renamed to com/company/Person/Gender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.company;
1+
package com.company.Person;
22

33
import java.util.Random;
44

com/company/Person/OutputFormat.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.company.Person;
2+
3+
public enum OutputFormat {
4+
WordLength(18),
5+
BracketLength(7);
6+
7+
public static int wordLength = 18;
8+
public static int bracketLength = 7;
9+
public String value;
10+
11+
OutputFormat(int value){
12+
this.value = "%-" + value + "s" ;
13+
}
14+
15+
}

com/company/Person.java renamed to com/company/Person/Person.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
package com.company;
1+
package com.company.Person;
22

33
import com.company.Vehicles.Vehicle;
4-
import com.company.Vehicles.VehicleType;
54

65
import java.util.Random;
76

com/company/Vehicles/Vehicle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.company.Vehicles;
22

3-
import com.company.OutputFormat;
3+
import com.company.Person.OutputFormat;
44

55
import java.util.Random;
66

0 commit comments

Comments
 (0)