public Object[] toArray(){
  if (row == null) {
    if (keyToString)     row=new Object[]{Misc.getAsString(key.getDetails()),new Double(value),new Double(active),new Date(time)};
 else {
      List list=new ArrayList();
      Misc.addTo(list,key.getDetails());
      list.add(new Double(value));
      list.add(new Double(active));
      list.add(new Date(time));
      row=list.toArray();
    }
  }
  return row;
}

public Object [ ] toArray ( ) { if ( row == null ) { if ( keyToString ) row = new Object [ ] { Misc . getAsString ( key . getDetails ( ) ) , new Double ( value ) , new Double ( active ) , new Date ( time ) } ; else { List list = new ArrayList ( ) ; Misc . addTo ( list , key . getDetails ( ) ) ; list . add ( new Double ( value ) ) ; list . add ( new Double ( active ) ) ; list . add ( new Date ( time ) ) ; row = list . toArray ( ) ; } } return row ; }
returns label , value , time as an object [ ] of 3 values .
