I want to define groovy function  which should 
take  java.util.function.Function as argument


function filterCircuits(java.util.function.Function filter){

List circuitlist = <Read circuits using query>

 return filter.apply(circuitlist)
}

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to