case CONSTANT_Utf8:
writeUtf8Bands(cpMap);
break;
case CONSTANT_Integer:
for (int i = 0; i < cpMap.length; i++) {
NumberEntry e = (NumberEntry) cpMap[i];
int x = ((Integer)e.numberValue()).intValue();
cp_Int.putInt(x);
}
break;
case CONSTANT_Float:
for (int i = 0; i < cpMap.length; i++) {
NumberEntry e = (NumberEntry) cpMap[i];
float fx = ((Float)e.numberValue()).floatValue();
int x = Float.floatToIntBits(fx);
cp_Float.putInt(x);
}
break;
case CONSTANT_Long:
for (int i = 0; i < cpMap.length; i++) {
NumberEntry e = (NumberEntry) cpMap[i];
long x = ((Long)e.numberValue()).longValue();
cp_Long_hi.putInt((int)(x >>> 32));
cp_Long_lo.putInt((int)(x >>> 0));
}
break;
case CONSTANT_Double:
for (int i = 0; i < cpMap.length; i++) {
NumberEntry e = (NumberEntry) cpMap[i];
double dx = ((Double)e.numberValue()).doubleValue();
long x = Double.doubleToLongBits(dx);
cp_Double_hi.putInt((int)(x >>> 32));
cp_Double_lo.putInt((int)(x >>> 0));
}
break;