public fillTo ( int toIndex, int val ) : void | ||
toIndex | int | index position to stop filling at. 0 inserts no filler. 1 ensures the list has a size of 1, adding val if the list is currently empty. |
val | int | value to insert into padded positions. |
return | void |