I'll repeat my comment from the mailing list ;-)

The fact that the final image returned is chosen via an ordering is currently 
an internal implementation detail - should we really be exposing that? What the 
user wants to do here really is take a collection (well, an iterable really) of 
possible matches and choose the best one themselves.

Would a `Function<Iterable<? extends Image>, Image>` not be a more natural 
definition for this "choice function" that leaves the ordering logic as an 
implementation detail?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/166#issuecomment-25540696

Reply via email to