removeFirst

fun removeFirst(e1: Int): Int

Removes the first element that equals e1, returning its deleted position or -1 if the element was not found.