10.12.2012 Views

The Java Language Specification, Third Edition

The Java Language Specification, Third Edition

The Java Language Specification, Third Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

15.12.2 Compile-Time Step 2: Determine Method Signature EXPRESSIONS<br />

452<br />

Inference begins with a set of initial constraints of the form AF, where UVindicates that type V is convertible to<br />

type U by method invocation conversion.<br />

DISCUSSION<br />

In a simpler world, the constraints could be of the form AX,T=Xor T F:<br />

• If F does not involve a type parameter Tj then no constraint is implied on Tj.<br />

• Otherwise, F involves a type parameter Tj.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!