Class BioMaterialUtils
- java.lang.Object
-
- ubic.gemma.persistence.service.expression.biomaterial.BioMaterialUtils
-
public class BioMaterialUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description BioMaterialUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
visitBioMaterials(BioMaterial bioMaterial, Consumer<BioMaterial> visitor)
Visit all the biomaterials in the hierarchy.
-
-
-
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
-
-