You mean like LcaRequestResponse in https://github.com/jgrapht/jgrapht/blob/master/jgrapht-core/src/main/java/org/jgrapht/alg/TarjanLowestCommonAncestor.java?

I'm not sure it's a good idea. Reasons:

1) It makes the class unnecessary complex 
2) It might give the impression that it can do something it can't do.
3) It makes sense to have a different syntax to match different capability.

Thoughts?