I am sorry to say 'fail' , I meant that the compression is not proper for e.g.
2001:0:000:00:1:0000:1:2-Compressed form should be 2001::1:0:2
"2001:000:1:000:1:0:1:1 -Compressed form should be...
Type: Posts; User: abhay8nitt
I am sorry to say 'fail' , I meant that the compression is not proper for e.g.
2001:0:000:00:1:0000:1:2-Compressed form should be 2001::1:0:2
"2001:000:1:000:1:0:1:1 -Compressed form should be...
Thanks Json,
But unfortunately the code doesn't work fine for lot of cases. I have written the code. It works fine for all cases. For example
"2001:0:000:00:1:0000:1:2",
"2001:000:1:000:1:0:1:1"...
Hi all,
How to compress Ipv6 addresses? Are there any existing API's in Java which offer the functionality?
For example the compressed equivalent of the Ipv6 address...
Input-
Map<String,String> inputMap;
The contents of the map are --
{a,{A:0,B:2,C:1,D:0}}
{b,{A:2,B:0,C:3}}
Output
Map<String,Map<String,Integer>>outputMap;
The content of the output Map...