ssdbms.manager.primitives
Interface SetOfID


public interface SetOfID

A SetOfID is used to storage identifiers of semistructured data and recover them in sequential order.

Author:
Egar Arturo García Cárdenas
See Also:
ID

Method Summary
 boolean hasNext()
          Returns true if the sequence has more identifiers.
 ID next()
          Returns the next identifier in the sequence and shift one element.
 

Method Detail

hasNext

public boolean hasNext()
                throws BadFunctionException,
                       FatalErrorException
Returns true if the sequence has more identifiers. It means, the sequence has not been completely covered.

Returns:
true if there is more identifiers, false otherwise.
Throws:
BadFunctionException
FatalErrorException

next

public ID next()
        throws BadFunctionException,
               FatalErrorException
Returns the next identifier in the sequence and shift one element.

Returns:
The next identifier in the sequence, the first time that this method is called return the firs element in the sequence, null if there is not more identifiers.
Throws:
BadFunctionException
FatalErrorException