*/
public SequenceOntology()
{
- termsFound = new ArrayList<>();
- termsNotFound = new ArrayList<>();
- termsByDescription = new HashMap<>();
- termIsA = new HashMap<>();
+ termsFound = new ArrayList<String>();
+ termsNotFound = new ArrayList<String>();
+ termsByDescription = new HashMap<String, Term>();
+ termIsA = new HashMap<Term, List<Term>>();
loadOntologyZipFile("so-xp-simple.obo");
}
*/
protected synchronized void findParents(Term childTerm)
{
- List<Term> result = new ArrayList<>();
+ List<Term> result = new ArrayList<Term>();
for (Triple triple : ontology.getTriples(childTerm, null, isA))
{
Term parent = triple.getObject();