Microsoft SDK for Java

IJavaEnumXXXX Interface Methods

The IJavaEnumXXXX interface contains the following methods:

Clone creates a copy of the enumerator, including the enumerator's current position in its list of elements.

GetCount returns the number of elements in the enumerator's list.

GetNext retrieves the next element from the enumerator's list.
Next retrieves the next specified number of elements from the enumerator's list.

Reset resets the enumerator's current position in its list of elements to the first element in the list.

Skip moves the enumerator's current position ahead in its list of elements by the given number of elements.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.