Searched refs:Insurance (Results 1 – 2 of 2) sorted by relevance
632 public interface Insurance<T extends Car> { interface in FactoryProviderTest635 public static class MustangInsurance implements Insurance<Mustang> {651 public static class CamaroInsurance implements Insurance<Camaro> {668 public Insurance<Mustang> create(Mustang car, double premium); in create()672 public Insurance<Camaro> create(Camaro car, double premium); in create()707 public Insurance<T> create(T car, double premium); in create()745 public static class AutoInsurance<T extends Car> implements Insurance<T> {
873 public interface Insurance<T extends Car> { interface in FactoryProvider2Test876 public static class MustangInsurance implements Insurance<Mustang> {892 public static class CamaroInsurance implements Insurance<Camaro> {909 public Insurance<Mustang> create(Mustang car, double premium); in create()913 public Insurance<Camaro> create(Camaro car, double premium); in create()948 public Insurance<T> create(T car, double premium); in create()986 public static class AutoInsurance<T extends Car> implements Insurance<T> {