No answer on this one yet - what's a better place to ask? Should I
create a jira ticket instead?
On 12/21/2015 06:59 PM, Michael Pollmeier wrote:
I don't understand the types on the `by` steps that take a function
projection.
1) Shouldn't it be `Function<E, V>` for the function parameter in both
cases?
2) What is the reason for constraining the function passed to the second
one to `Element`?
without comparator:
<V> GraphTraversal<S, E> by(Function<V, Object>)
with comparator:
<V> GraphTraversal<S, E> by(Function<Element, V>, Comparator<V>)
(from GraphTraversal.java)
Cheers
Michael