ProfileArrayList.java
296 Bytes
package com.ntk.util;
import java.util.ArrayList;
@SuppressWarnings("unchecked")
public class ProfileArrayList<String> extends ArrayList{
public String get(int index) {
if (index < super.size()) {
return (String) super.get(index);
} else {
return (String) "out of index";
}
}
}