Type inside angle brackets - what does it mean? : <p>While working on somebodys else code I found some weird construction, which for I couldnt find any explanation on the internet. Here is the whole method from JavaFXML Application:</p>

<pre><code>private void logInUser(User selectedUser) throws IOException {
    FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/movierecsys/gui/view/MovieRecView.fxml"));
    Parent root1 = (Parent) fxmlLoader.load();
    fxmlLoader.&lt;MovieRecController&gt;getController().setInfo(selectedUser);
    Stage stage = (Stage) loginButton.getScene().getWindow();
    stage.setScene(new Scene(root1));
    stage.show();
}
</code></pre>

<p>And here is the line which is not really clear for me:</p>

<pre><code>    fxmlLoader.&lt;MovieRecController&gt;getController().setInfo(selectedUser);
</code></pre>

<p>What exactly means <code>&lt;MovieRecController&gt;</code> ? It looks like type casting, but i have never met before this construction for casting and I could find any explanation for this. </p>
