When i copy your code and paste it into Netbeans, Netbeans gives errors at these parts:
aminosSize = aminos.size();
aminosAry = new aminosAry[aminosSize];

The errors say that;
It cannot...