org.apache.beehive.controls.runtime.generator
Class AptMethodSet<T extends AptMethod>

Object
  extended by AptMethodSet<T>

public class AptMethodSet<T extends AptMethod>
extends Object

The AptMethodSet method represents a collection of AptMethod objects. It contains special support for method overloading, to ensure that overloaded method objects contained within the set will each have a unique index value.

See Also:
AptMethod.setIndex(int)

Constructor Summary
AptMethodSet()
           
 
Method Summary
 void add(T method)
          Adds a new method to the list.
 Collection<T> getMethods()
           
 int size()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptMethodSet

public AptMethodSet()
Method Detail

add

public void add(T method)
Adds a new method to the list. Also detects overloaded methods and ensures that they will receive a unique index value.


getMethods

public Collection<T> getMethods()

size

public int size()