Class BioMaterialUtils


  • public class BioMaterialUtils
    extends Object
    • Constructor Detail

      • BioMaterialUtils

        public BioMaterialUtils()
    • Method Detail

      • visitBioMaterials

        public static void visitBioMaterials​(BioMaterial bioMaterial,
                                             Consumer<BioMaterial> visitor)
        Visit all the biomaterials in the hierarchy.

        Circular biomaterial are not allowed, but if they happen we must detect them to prevent stack overflows.

        Throws:
        IllegalStateException - if a circular biomaterial is detected