Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.Util.Int64Vector.Int64VectorEnumerator Class Referencesealed
Inheritance diagram for Google.OrTools.Util.Int64Vector.Int64VectorEnumerator:

Public Member Functions

 Int64VectorEnumerator (Int64Vector collection)
 
bool MoveNext ()
 
void Reset ()
 
void Dispose ()
 

Properties

long Current [get]
 Type-safe iterator Current.
 

Detailed Description

Type-safe enumerator

Note
the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified. This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.

Definition at line 184 of file Int64Vector.cs.

Constructor & Destructor Documentation

◆ Int64VectorEnumerator()

Google.OrTools.Util.Int64Vector.Int64VectorEnumerator.Int64VectorEnumerator ( Int64Vector collection)
inline

Definition at line 192 of file Int64Vector.cs.

Member Function Documentation

◆ Dispose()

void Google.OrTools.Util.Int64Vector.Int64VectorEnumerator.Dispose ( )
inline

Definition at line 239 of file Int64Vector.cs.

◆ MoveNext()

bool Google.OrTools.Util.Int64Vector.Int64VectorEnumerator.MoveNext ( )
inline

Definition at line 219 of file Int64Vector.cs.

◆ Reset()

void Google.OrTools.Util.Int64Vector.Int64VectorEnumerator.Reset ( )
inline

Definition at line 231 of file Int64Vector.cs.

Property Documentation

◆ Current

long Google.OrTools.Util.Int64Vector.Int64VectorEnumerator.Current
get

Type-safe iterator Current.

Definition at line 200 of file Int64Vector.cs.


The documentation for this class was generated from the following file: