Class SubtypeCache


  • public class SubtypeCache
    extends java.lang.Object
    A cache for efficiently answering subtyping relationships
    Author:
    Jon Mathews
    • Constructor Summary

      Constructors 
      Constructor Description
      SubtypeCache​(org.eclipse.core.runtime.IProgressMonitor monitor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isSubtypeOf​(com.ensoftcorp.atlas.core.db.graph.Node type1, com.ensoftcorp.atlas.core.db.graph.Node type2)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SubtypeCache

        public SubtypeCache​(org.eclipse.core.runtime.IProgressMonitor monitor)
    • Method Detail

      • isSubtypeOf

        public boolean isSubtypeOf​(com.ensoftcorp.atlas.core.db.graph.Node type1,
                                   com.ensoftcorp.atlas.core.db.graph.Node type2)
        Parameters:
        type1 -
        type2 -
        Returns:
        true if type1 is a subtype of type2