congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
OntologyTerm.getChildren
Code IndexAdd Tabnine to your IDE (free)

How to use
getChildren
method
in
uk.ac.ebi.intact.bridges.ontologies.term.OntologyTerm

Best Java code snippets using uk.ac.ebi.intact.bridges.ontologies.term.OntologyTerm.getChildren (Showing top 3 results out of 315)

origin: uk.ac.ebi.intact.dataexchange.psimi/intact-solr-core

protected Multimap<Integer, OntologyTerm> getChildren(OntologyTerm term, int currentDepth, int maxDepth) {
  if (currentDepth > maxDepth) {
    return HashMultimap.create();
  }
  Multimap<Integer,OntologyTerm> terms = HashMultimap.create();
  terms.put(currentDepth, term);
  for (OntologyTerm child : term.getChildren()) {
    terms.putAll(getChildren(child, currentDepth+1, maxDepth));
  }
  return terms;
}
origin: uk.ac.ebi.intact.bridges/intact-ontologies

protected Multimap<Integer, OntologyTerm> getChildren(OntologyTerm term, int currentDepth, int maxDepth) {
  if (currentDepth > maxDepth) {
    return HashMultimap.create();
  }
  Multimap<Integer,OntologyTerm> terms = HashMultimap.create();
  terms.put(currentDepth, term);
  for (OntologyTerm child : term.getChildren()) {
    terms.putAll(getChildren(child, currentDepth+1, maxDepth));
  }
  return terms;
}
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-solr

protected Multimap<Integer, OntologyTerm> getChildren(OntologyTerm term, int currentDepth, int maxDepth) {
  if (currentDepth > maxDepth) {
    return HashMultimap.create();
  }
  Multimap<Integer,OntologyTerm> terms = HashMultimap.create();
  terms.put(currentDepth, term);
  for (OntologyTerm child : term.getChildren()) {
    terms.putAll(getChildren(child, currentDepth+1, maxDepth));
  }
  return terms;
}
uk.ac.ebi.intact.bridges.ontologies.termOntologyTermgetChildren

Javadoc

Children of the term.

Popular methods of OntologyTerm

  • getParents
    Parents of the term.
  • getSynonyms
    Gets the synonyms for this ontology term.
  • getAllParentsToRoot
    Gets a set that contains all the parent terms until the root is reached. The root is included.
  • getId
    Id of the term.
  • getName
    Name of the term.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setContentView (Activity)
  • putExtra (Intent)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Runner (org.openjdk.jmh.runner)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now