JPA Method
in javax.persistence.Tuple

X get(
  int i, 
  Class<X> type
)


Get the value of the element at the specified position in the result tuple. The first position is 0.
Parameters:
i - position in result tuple
type - type of the tuple element
Return:
value of the tuple element
Throws:
IllegalArgumentException - if i exceeds length of result tuple or element cannot be assigned to the specified type
Since:
JPA 2.0