On Thu, Jan 24, 2013 at 1:52 PM, Dan Smith <span dir="ltr"><<a href="mailto:daniel.smith@oracle.com" target="_blank">daniel.smith@oracle.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Let me propose a slightly different convention: if the base type is parameterized in both its parameters and return, then the "To" prefix is mandatory. If not, "To" is not used.</div></blockquote>
<div><br></div><div>So:</div><div><br></div><div> Function<Foo, Bar> // Foo -> Bar</div><div> ToIntFunction<Foo> // Foo -> int</div><div> Supplier<Bar> // () -> Bar</div><div> IntSupplier // () -> int</div>
<div><br></div><div>Right?</div><div><br></div><div>Works for me.</div><div><br></div><div>--tim</div></div>