subsetenumerator-ag凯发旗舰厅



com.spire.doc.collections
class subsetenumerator

java.lang.object
  extended by com.spire.doc.collections.subsetenumerator
all implemented interfaces:
java.util.iterator

public class subsetenumerator
extends java.lang.object
implements java.util.iterator

this class was inner static class and come from documentsubsetcollection. represents a internal enumerator for entitysubsetcollection.


constructor summary
subsetenumerator(documentsubsetcollection encoll)
          initializes a new instance of the see cref="subsetenumerator" class.
 
method summary
 boolean hasnext()
          advances the enumerator to the next element of the collection.
 java.lang.object next()
          gets the current element in the collection.
 void reset()
          sets the enumerator to its initial position, which is before the first element in the collection.
 
constructor detail

subsetenumerator

public subsetenumerator(documentsubsetcollection encoll)
initializes a new instance of the see cref="subsetenumerator" class.
parameters:
encoll - the entities collection.
method detail

next

public java.lang.object next()
gets the current element in the collection. exception:the enumerator is positioned before the first element of the collection or after the last element.
returns:
the current element in the collection.

hasnext

public boolean hasnext()
advances the enumerator to the next element of the collection. exception:the collection was modified after the enumerator was created.
returns:
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

reset

public void reset()
sets the enumerator to its initial position, which is before the first element in the collection. exception:the collection was modified after the enumerator was created.


网站地图