Searched refs:Insurance (Results 1 – 2 of 2) sorted by relevance
696 public interface Insurance<T extends Car> {} interface in FactoryProviderTest698 public static class MustangInsurance implements Insurance<Mustang> {716 public static class CamaroInsurance implements Insurance<Camaro> {735 public Insurance<Mustang> create(Mustang car, double premium); in create()739 public Insurance<Camaro> create(Camaro car, double premium); in create()780 public Insurance<T> create(T car, double premium); in create()824 public static class AutoInsurance<T extends Car> implements Insurance<T> {
1008 public interface Insurance<T extends Car> {} interface in FactoryProvider2Test1010 public static class MustangInsurance implements Insurance<Mustang> {1028 public static class CamaroInsurance implements Insurance<Camaro> {1047 public Insurance<Mustang> create(Mustang car, double premium); in create()1051 public Insurance<Camaro> create(Camaro car, double premium); in create()1092 public Insurance<T> create(T car, double premium); in create()1136 public static class AutoInsurance<T extends Car> implements Insurance<T> {