Package net.n2oapp.engine.factory
Interface MultiEngineFactory<T,G>
-
- Type Parameters:
T- Тип движкаG- Движок
- All Superinterfaces:
EngineFactory<T,G>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MultiEngineFactory<T,G> extends EngineFactory<T,G>
Фабрика списка движков
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Gproduce(T type)Произвести движокList<G>produceList(T type)Отобрать список движков по типу
-
-
-
Method Detail
-
produceList
List<G> produceList(T type)
Отобрать список движков по типу- Parameters:
type- Тип движка- Returns:
- Список движков
-
produce
default G produce(T type)
Description copied from interface:EngineFactoryПроизвести движок- Specified by:
producein interfaceEngineFactory<T,G>- Parameters:
type- Тип движка- Returns:
- Движок
-
-