I am new to Java, coming from PHP. Here is a snippet of code:
public List<WSOrderInfo> getOrderInfoList() {
List<WSOrderInfo> detailList = new ArrayList<WSOrderInfo>();
I am wondering the following: What is the term in the angle brackets? (<WSOrderInfo>) Is this defined as part of some scope of the class? Does it reference an external variable?
Thanks!
typethat the List will contain. For example, it could bestring,MyCoolType, etc.