Interface IValueAllele<V>

Type Parameters:
V - The type of value that this allele contains.
All Superinterfaces:
IAllele
All Known Subinterfaces:
IRegistryAllele<V>

public non-sealed interface IValueAllele<V> extends IAllele
An allele that wraps a value that isn't one of the primitive types. Values contained in these alleles are NEVER null.
See Also:
  • Field Summary

    Fields inherited from interface forestry.api.genetics.alleles.IAllele

    CODEC
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface forestry.api.genetics.alleles.IAllele

    alleleId, cast, dominant
  • Method Details

    • value

      V value()
      Returns:
      The non-null value that this allele contains.