Java tutorial
//package com.java2s; public class Main { private static boolean checkForSameGenoTypeAndTreatment(String linegenotype, String linetreatment) { if (linegenotype == null || linetreatment == null) return false; if (linegenotype.equalsIgnoreCase(linetreatment)) return true; else return false; } }