Module com.legyver.utils.mapqua
Interface EntityInstantiator<T>
-
- Type Parameters:
T- the type of the entity
- 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 EntityInstantiator<T>Lambda to specify how an entity is to be instantiated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TnewInstance(java.util.Map m)Instantiator for an entity.
-
-
-
Method Detail
-
newInstance
T newInstance(java.util.Map m)
Instantiator for an entity.- Parameters:
m- the internal map to instantiate the entity in.- Returns:
- the new instance of the entity
-
-