} else if (cp == CP_INT) {
return new CPInteger(new Integer(bands.getCpInt()[index]));
} else if (cp == CP_FLOAT) {
return new CPFloat(new Float(bands.getCpFloat()[index]));
} else if (cp == CP_LONG) {
return new CPLong(new Long(bands.getCpLong()[index]));
} else if (cp == CP_DOUBLE) {
return new CPDouble(new Double(bands.getCpDouble()[index]));
} else if (cp == CP_STRING) {
return new CPString(bands.getCpString()[index]);
} else if (cp == CP_CLASS) {