public void addColor(int color){
  if (mColors == null)   mColors=new ArrayList<Integer>();
  mColors.add(color);
}

public void addColor ( int color ) { if ( mColors == null ) mColors = new ArrayList < Integer > ( ) ; mColors . add ( color ) ; }
adds a new color to the colors array of the dataset .
