Package com.garrettAndPeter.lib
Interface Reproduce<T>
-
- Type Parameters:
T
- the organism type
- All Known Implementing Classes:
StringReproduce
- 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 Reproduce<T>
A function that allows for the creation of offspring using 2 parent organisms
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
reproduce(T a, T b)
-