public class HelperFunctions extends Object
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/.
Modifier and Type | Class and Description |
---|---|
class |
HelperFunctions.byLineLengthAsc |
class |
HelperFunctions.byLineLengthDesc
functions to sort string lists by line length
|
Constructor and Description |
---|
HelperFunctions() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkStringIsNotEmpty(String string) |
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.
|
static String |
implodeInteger(String glue,
Collection<Integer> list) |
static String |
implodeString(String glue,
Collection<String> list) |
public static boolean checkStringIsNotEmpty(String string)
public static List<String> diseaseClassSplitter(List<String> disClasses)
disClasses
- the list of diseases classespublic static String implodeString(String glue, Collection<String> list)
public static String implodeInteger(String glue, Collection<Integer> list)
Copyright © 2024. All rights reserved.