Method | Description | |
---|---|---|
Decrement ( int &value, [ range ) : int |
Decrement a value whilst keeping it inside a range.
|
|
Decrement ( int &value, int start, int end ) : int |
Decrement a value whilst keeping it inside a range.
|
|
Increment ( int &value, [ range ) : int |
Increments a value whilst keeping it inside a range.
|
|
Increment ( int &value, int start, int end ) : int |
Increments a value whilst keeping it inside a range.
|
public static Decrement ( int &value, [ range ) : int | ||
value | int | The value. |
range | [ | The range. |
return | int |
public static Decrement ( int &value, int start, int end ) : int | ||
value | int | The value. |
start | int | The start of the range (inclusive). |
end | int | The end of the range (inclusive). |
return | int |
public static Increment ( int &value, [ range ) : int | ||
value | int | The value. |
range | [ | The range. |
return | int |
public static Increment ( int &value, int start, int end ) : int | ||
value | int | The value. |
start | int | The start of the range (inclusive). |
end | int | The end of the range (inclusive). |
return | int |