moved to ex1 sub-directory
This commit is contained in:
parent
80b7f9e80d
commit
8caae17dd4
@ -1,4 +1,4 @@
|
|||||||
package lab8_builder;
|
package lab8_builder.ex1;
|
||||||
|
|
||||||
public class Car {
|
public class Car {
|
||||||
private String power;
|
private String power;
|
@ -1,4 +1,4 @@
|
|||||||
package lab8_builder;
|
package lab8_builder.ex1;
|
||||||
|
|
||||||
public abstract class CarBuilder {
|
public abstract class CarBuilder {
|
||||||
protected Car car;
|
protected Car car;
|
@ -1,4 +1,4 @@
|
|||||||
package lab8_builder;
|
package lab8_builder.ex1;
|
||||||
|
|
||||||
public class CarFactory {
|
public class CarFactory {
|
||||||
private CarBuilder builder;
|
private CarBuilder builder;
|
@ -1,7 +1,7 @@
|
|||||||
package lab8_builder;
|
package lab8_builder.ex1;
|
||||||
|
|
||||||
import lab8_builder.builders.BerlinBuilder;
|
import lab8_builder.ex1.builders.BerlinBuilder;
|
||||||
import lab8_builder.builders.SportBuilder;
|
import lab8_builder.ex1.builders.SportBuilder;
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
@ -1,6 +1,6 @@
|
|||||||
package lab8_builder.builders;
|
package lab8_builder.ex1.builders;
|
||||||
|
|
||||||
import lab8_builder.CarBuilder;
|
import lab8_builder.ex1.CarBuilder;
|
||||||
|
|
||||||
public class BerlinBuilder extends CarBuilder {
|
public class BerlinBuilder extends CarBuilder {
|
||||||
@Override
|
@Override
|
@ -1,6 +1,6 @@
|
|||||||
package lab8_builder.builders;
|
package lab8_builder.ex1.builders;
|
||||||
|
|
||||||
import lab8_builder.CarBuilder;
|
import lab8_builder.ex1.CarBuilder;
|
||||||
|
|
||||||
public class SportBuilder extends CarBuilder {
|
public class SportBuilder extends CarBuilder {
|
||||||
@Override
|
@Override
|
Loading…
Reference in New Issue
Block a user