Package es.imim.DISGENET.tool
Class HelperFunctions
java.lang.Object
es.imim.DISGENET.tool.HelperFunctions
The DISGENET Cytoscape App is designed to visualize, query, and analyze a network representation of DISGENET data.
Copyright (C) 2024 MEDBIOINFORMATICS SOLUTIONS SL
This file is part of the DISGENET Cytoscape App. The DISGENET Cytoscape App is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
The DISGENET Cytoscape App is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the DISGENET Cytoscape App. If not, see http://www.gnu.org/licenses/.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
functions to sort string lists by line length -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkStringIsNotEmpty(String 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.static String
implodeInteger(String glue, Collection<Integer> list)
static String
implodeString(String glue, Collection<String> list)
-
Constructor Details
-
HelperFunctions
public HelperFunctions()
-
-
Method Details
-
checkStringIsNotEmpty
-
diseaseClassSplitter
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
-
implodeInteger
-