densh / scala-offheap

Experimental type-safe off-heap memory for Scala.
BSD 3-Clause "New" or "Revised" License
532 stars 38 forks source link

Add support for Array.find and/or Array.indexWhere #101

Open adam-wyluda opened 8 years ago

adam-wyluda commented 8 years ago

Find first element fulfilling given predicate. If no value is found then it will return either empty/null value of data class or empty Option proposed in #100.

adam-wyluda commented 8 years ago

Alternatively we could have Array.indexWhere which returns index of the found element or -1 in other case.

densh commented 8 years ago

:+1: