Taking string as vertex value..

2014-04-17 Thread Jyoti Yadav
Hi folks.. While implementing my algorithm , I am taking vertex value as string.. following is the sample input format... [0,hello world,[[1,1],[3,3]]] [1,a,[[0,1],[2,2],[3,1]]] [2,b,[[1,2],[4,4]]] [3,c,[[0,3],[1,1],[4,4]]] [4,d,[[3,4],[2,4]]] Suppose above is the input file given

Re: Taking string as vertex value..

2014-04-17 Thread Sundara Raghavan Sankaran
I'm not sure of the problem, but I can suggest an alternative. Use the writeUTF and readUTF methods to write and read strings. On Thu, Apr 17, 2014 at 4:02 PM, Jyoti Yadav rao.jyoti26ya...@gmail.comwrote: Hi folks.. While implementing my algorithm , I am taking vertex value as string