I'm new to Java but not to programming (I normally code in Ruby). One thing I've seen in Java code examples is the use of <> instead of () to pass params to an object. Below is a code example (taken from a Google Web Toolkit tutorial):
public void onValueChange(ValueChangeEvent<String> event) {
String token = event.getValue();
// depending on the value of the token, do whatever you need
...
}
Does it have to do with casting or is it something else? Can someone explain to me what this signifies or is used for? Thanks!