removeFirst

fun removeFirst(e1: Long): Int

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