GetEnumerator() public method

Get an enumerator of the set indices of this bitset.
public GetEnumerator ( ) : IEnumerator
return IEnumerator
Example #1
0
 /// <summary>
 /// Get an enumerator of the set indices of this bitset.
 /// </summary>
 /// <returns>A enumerator giving the set (i.e. for which the bit is '1' or true) indices for this bitset.</returns>
 public IEnumerator GetEnumerator()
 {
     return(containers.GetEnumerator());
 }
Example #2
0
 public IEnumerator <int> GetEnumerator()
 {
     return(_containers.GetEnumerator());
 }