Constructor
Variables
Methods
compare(other:View<T>):Int
Returns 0 if the contents of the two views are identical.
Returns a negative value if the length of this view is less than the length of other, or a positive value if the length of this view is greater than the length of other.
In case of equal lengths, returns a negative value if the first different value in other is greater than the corresponding value in this view. Otherwise, returns a positive value.
copyTo(destination:View<T>):Void
Copies the the from the current view to the destination view. If the destination is smaller than the current view this function raises an exception and no data is written to the destination.
Parameters:
destination | Target of the copy operation |
|---|
fill(value:T):Void
Sets all items in the current view to the specified value.
Parameters:
value | The value assigned to each item in the view. |
|---|