Space Engineers
|
Classes | |
struct | Enumerator |
Public Member Functions | |
MyIntervalList () | |
override string | ToString () |
int | IndexOf (int value) |
void | Add (int value) |
Add a value to the list More... | |
void | Clear () |
MyIntervalList | GetCopy () |
bool | Contains (int value) |
Enumerator | GetEnumerator () |
Properties | |
int | Count [get] |
int | IntervalCount [get] |
int | this[int index] [get] |
A set of integer numbers optimized for sets with long consecutive runs. Each interval is stored as two values in m_list: the lower and the upper bound.
For example, the set of numbers 2, 3, 4, 5, 7, 9, 10, 11, 12, 13 (or alternatively in the interval notation <2, 5> U <7, 7> U <9, 13>) is saved as a list { 2, 5, 7, 7, 9, 13 }
Definition at line 14 of file MyIntervalList.cs.
|
inline |
Definition at line 79 of file MyIntervalList.cs.
|
inline |
Add a value to the list
Definition at line 151 of file MyIntervalList.cs.
|
inline |
Definition at line 218 of file MyIntervalList.cs.
|
inline |
Definition at line 237 of file MyIntervalList.cs.
|
inline |
Definition at line 224 of file MyIntervalList.cs.
|
inline |
Definition at line 248 of file MyIntervalList.cs.
|
inline |
Definition at line 100 of file MyIntervalList.cs.
|
inline |
Definition at line 89 of file MyIntervalList.cs.
|
get |
Definition at line 63 of file MyIntervalList.cs.
|
get |
Definition at line 71 of file MyIntervalList.cs.
|
get |
Definition at line 122 of file MyIntervalList.cs.