gov.nasa.arc.brahms.vm.api.common
Interface IStatementOrganizer

All Known Implementing Classes:
DefaultStatementOrganizer

public interface IStatementOrganizer

An IStatementOrganizer is an interface to a statement organizer that organizes a list of statements into a specific order.


Method Summary
 IStatement[] organize(java.util.Enumeration statements)
          Organizes the specified enumeration of statements and returns the organized set of statements.
 IStatement[] organize(IStatement[] statements)
          Organizes the specified array of statements and returns the organized set of statements.
 

Method Detail

organize

IStatement[] organize(java.util.Enumeration statements)
                      throws ExternalException
Organizes the specified enumeration of statements and returns the organized set of statements.

Parameters:
statements - the Enumeration of IStatement to be organized
Returns:
IStatement[] the organized statements
Throws:
ExternalException - if an internal error occurs

organize

IStatement[] organize(IStatement[] statements)
                      throws ExternalException
Organizes the specified array of statements and returns the organized set of statements.

Parameters:
statements - the IStatement array to be organized
Returns:
IStatement[] the organized statements
Throws:
ExternalException - if an internal error occurs