Class ListUbiqueDetector

java.lang.Object
org.biopax.paxtools.io.sbgn.ListUbiqueDetector
All Implemented Interfaces:
UbiqueDetector

public class ListUbiqueDetector extends Object implements UbiqueDetector
Detects ubiquitous molecules using a given ID set.
Author:
Ozgun Babur
  • Constructor Details

    • ListUbiqueDetector

      public ListUbiqueDetector(Set<String> uris)
      Contructor.
      Parameters:
      uris - URIs of ubiques
  • Method Details

    • isUbique

      public boolean isUbique(Entity e)
      Checks if the ID of the PhysicalEntity is in the set.
      Specified by:
      isUbique in interface UbiqueDetector
      Parameters:
      e - PhysicalEntity or Gene to check
      Returns:
      true if ubique