¡@

Home 

java Programming Glossary: mipsinst

Assigning a generic List to a concrete ArrayList is causing a compile-time error

http://stackoverflow.com/questions/20037561/assigning-a-generic-list-to-a-concrete-arraylist-is-causing-a-compile-time-error

List AbstractInst extends IInstType insts new ArrayList MIPSInst I'm getting a compile time error that ArrayList MIPSInst cannot.. MIPSInst I'm getting a compile time error that ArrayList MIPSInst cannot be converted to List AbstractInst extends IInstType ... to List AbstractInst extends IInstType . The class MIPSInst extends AbstractInst MIPSInstType and MIPSInstType implements..