Class IdMap

java.lang.Object
org.snpeff.gtex.IdMap

public class IdMap extends Object
Maps many IDs to many Names I.e. a mapping id <-> name where neither is unique
Author:
pcingola
  • Constructor Details

    • IdMap

      public IdMap()
  • Method Details

    • add

      public void add(String id, String name)
      Add a mapping id <-> name
      Parameters:
      id -
      name -
    • getIds

      public List<String> getIds(String name)
      Get all IDs corresponding to this name
      Parameters:
      name -
      Returns:
    • getNames

      public List<String> getNames(String id)
      Get all names corresponding to this Id
      Parameters:
      name -
      Returns: