- Type Parameters:
A
- the allele typeG
- the gene type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for creating bounded genes.
- Since:
- 3.9
- Version:
- 3.9
-
Method Summary
-
Method Details
-
create
Create a new bounded gene from the given parameters.final BoundedGeneCreator<Long, LongGene> creator = LongGene::of;
- Parameters:
value
- the gene valuemin
- the minimum valuemax
- the maximum value- Returns:
- a newly created bounded gene
-