Class HelperFunctions

java.lang.Object
es.imim.DISGENET.tool.HelperFunctions

public class HelperFunctions extends Object
  • Constructor Details

    • HelperFunctions

      public HelperFunctions()
  • Method Details

    • checkStringIsNotEmpty

      public static boolean checkStringIsNotEmpty(String string)
    • diseaseClassSplitter

      public static List<String> diseaseClassSplitter(List<String> disClasses)
      Iterates from a list of combinations of diseases classes and returns de disease classes found in non-repeated values array.
      Parameters:
      disClasses - the list of diseases classes
      Returns:
      all the disease classes found non-repeated.
    • implodeString

      public static String implodeString(String glue, Collection<String> list)
    • implodeInteger

      public static String implodeInteger(String glue, Collection<Integer> list)