get(alias, type) - JPA Tuple's method

Method
javax.persistence.Tuple
X get(
  String alias,
  Class<X> type
)

Get the value of the tuple element to which the specified alias has been assigned.
Parameters:
alias - alias assigned to tuple element
type - of the tuple element
Returns:
value of the tuple element
Throws:
IllegalArgumentException - if alias does not correspond to an element in the query result tuple or element cannot be assigned to the specified type
Since:
JPA 2.0