We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The type constraints of the factory method AnyChromosome.of are too loose.
AnyChromosome.of
public static <A> AnyChromosome<A> of final Supplier<? extends A> supplier, final Predicate<? super A> alleleValidator, final Predicate<? super ISeq<? super A>> alleleSeqValidator, final int length )
should be
public static <A> AnyChromosome<A> of final Supplier<? extends A> supplier, final Predicate<A> alleleValidator, final Predicate<ISeq<A>> alleleSeqValidator, final int length )
The text was updated successfully, but these errors were encountered:
Actually change the factory method signature to
public static <A> AnyChromosome<A> of( final Supplier<? extends A> supplier, final Predicate<? super A> alleleValidator, final Predicate<? super ISeq<A>> alleleSeqValidator, final int length )
Sorry, something went wrong.
#256: Fix signature of 'AnyChromosome.of' methods.
373f0dd
Merge pull request #263 from jenetics/issues/JENETICS-256-loose_type_…
2487438
…signature #256: Fix signature of 'AnyChromosome.of' methods.
Merged into r4.0.0 branch.
jenetics
No branches or pull requests
The type constraints of the factory method
AnyChromosome.of
are too loose.should be
The text was updated successfully, but these errors were encountered: