double _double = 0d;
char[] longstr = new char[501];
Arrays.fill(longstr, 'x');
for(int i=0; i<NB_ENTITIES; i++){
MassEntity ent = new MassEntity();
ent.typeByte = _byte; // incremented later in function
ent.typeShort = _short++;
ent.typeInt = _int++;
ent.typeLong = _long++;
ent.typeFloat = _float++;