:: com :: sun :: star :: container ::
- provides functionality to enumerate the contents of a container.
An object that implements the XEnumeration interface
generates a series of elements, one at a time. Successive calls to
XEnumeration::nextElement method return successive
elements of the series.
For example (Java), to print all elements of a vector aVect:
for ( XEnumeration xEnum = aVect.elements() ;
xEnum.hasMoreElements() ; )
System.out.println( xEnum.nextElement() );
If the object changed, the behavior of the enumeration is
not specified. This is not a remote interface.
Top of Page
- tests whether this enumeration contains more elements.
- the next element of this enumeration.
if no more elements exist.
If the implementation has internal reasons for exceptions,
then wrap these in a ::com::sun::star::lang::WrappedTargetException
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.