/**
 * The InspectableVector interface specifies a sequence of elements that
 * supports access to its elements by their ranks.  The vector cannot
 * be changed.
 * A rank is invalid if it is smaller than 0 or greater than or equal
 * to the size of the ranked sequence.
 *
 * @version     1.5    March 2, 2001
 * @author      Franck van Breugel
 */
public interface InspectableVector extends InspectableContainer
{
    /**
     * Returns the element of this vector with the specified rank.
     * Throws a BoundaryViolationException if the specified rank is invalid.
     * @param rank The rank of the element to be returned.
     * @return The element of this vector with the specified rank.
     * @exception BoundaryViolationException if the specified rank is invalid.
     */
    public Object elemAtRank(int rank) throws BoundaryViolationException;
}
