Insert

constructor(element: T, index: Int)

Parameters

element

the new element that has been inserted

index

the element has been inserted at this index