harpoon.Backend.Analysis
Class ClassMethodMap

java.lang.Object
  extended by harpoon.Backend.Maps.MethodMap
      extended by harpoon.Backend.Analysis.ClassMethodMap
All Implemented Interfaces:
Serializable

public class ClassMethodMap
extends MethodMap

A ClassMethodMap is a method map for virtual methods of an object (not static, not private, not constructors). It uses the natural ordering (under Comparable of the methods when possible and caches results for efficiency.

Version:
$Id: ClassMethodMap.java,v 1.4 2002/04/10 03:02:22 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
Serialized Form

Constructor Summary
ClassMethodMap()
          Creates a ClassMethodMap.
 
Method Summary
 int methodOrder(HMethod hm)
          Return an ordering of the given method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassMethodMap

public ClassMethodMap()
Creates a ClassMethodMap.

Method Detail

methodOrder

public int methodOrder(HMethod hm)
Description copied from class: MethodMap
Return an ordering of the given method.

Specified by:
methodOrder in class MethodMap