Problem in creating DoubleArrayWritable.java

10 views
Skip to first unread message

Satyanarayana Vusirikala

unread,
Nov 18, 2015, 3:00:17 AM11/18/15
to stanfordgpsusers
Hi,

  For my program, I need to store a double array for each node (vertex). For this I am creating DoubleArrayWritable.java by following the same style that of IntArrayWritable.java file. IntArrayWritable uses readIntegerFromByteArray() and writeIntegerToByteArray() functions. Can anyone please help me in creating readDoubleFromByteArray() and writeDoubleToByteArray() functions. Are these functions required for creating DoubleArrayWritable class? or can I continue without using those functions?

  Thank you so much in advance.
Reply all
Reply to author
Forward
0 new messages