harpoon.Interpret.Tree
Class InterfaceList

java.lang.Object
  extended by harpoon.Interpret.Tree.InterfaceList

public class InterfaceList
extends Object

The InterfaceList class is a linked list used to represent a list of interfaces.

Version:
$Id: InterfaceList.java,v 1.2 2002/02/25 21:05:57 cananian Exp $
Author:
Duncan Bryce <duncan@lcs.mit.edu>

Constructor Summary
InterfaceList(int size)
          Class constructor.
 
Method Summary
 void addInterface(harpoon.Interpret.Tree.ConstPointer iFace, int index)
          Adds the interface pointed to by iFace to this list of interfaces.
 harpoon.Interpret.Tree.ConstPointer getInterface(int i)
          Returns the i'th element of this InterfaceList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceList

public InterfaceList(int size)
Class constructor.

Method Detail

addInterface

public void addInterface(harpoon.Interpret.Tree.ConstPointer iFace,
                         int index)
Adds the interface pointed to by iFace to this list of interfaces.


getInterface

public harpoon.Interpret.Tree.ConstPointer getInterface(int i)
Returns the i'th element of this InterfaceList