1 19 20 package jxl.write.biff; 21 22 import jxl.biff.Type; 23 import jxl.biff.IntegerHelper; 24 import jxl.biff.StringHelper; 25 import jxl.biff.DoubleHelper; 26 import jxl.biff.WritableRecordData; 27 28 32 class DeltaRecord extends WritableRecordData 33 { 34 37 private byte[] data; 38 41 private double iterationValue; 42 43 48 public DeltaRecord(double itval) 49 { 50 super(Type.DELTA); 51 iterationValue = itval; 52 53 data = new byte[8]; 54 } 55 56 57 62 public byte[] getData() 63 { 64 DoubleHelper.getIEEEBytes(iterationValue, data, 0); 65 66 76 77 return data; 78 } 79 } 80 81 82 | Popular Tags |