default T decode(final Genotype<G> genotype) {
		requireNonNull(genotype);
		return decoder().apply(genotype);
	}
Converts the given {@link Genotype} to the target type {@link T}. This is
a shortcut for
{@snippet lang="java":
final Codec<SomeObject, DoubleGene> codec = null; // @replace substring='null' replacement="..."
final Genotype<DoubleGene> gt = codec.encoding().newInstance();

final SomeObject arg = codec.decoder().apply(gt);
}

@since 3.6

@param genotype the genotype to be converted
@return the converted genotype
@throws NullPointerException if the given {@code genotype} is {@code null}
jenetics/src/main/java/io/jenetics/engine/Codec.java