if(getVersion() < 1){ ArrayList numberarray = (ArrayList)   data.get(NUMBERARRAY); while(numberarray.size() < 37){ numberarray.add(new Integer(0)); } data.put(NUMBERARRAY,numberarray); }
    public void upgrade(){      if(LATEST_VERSION != getVersion()){        // New version of the class, upgrade        data.put(VERSION, new Float(LATEST_VERSION));               }    }