List of utility methods to do Zigzag Decode
int | zigzagDecode(int encoded) zigzag Decode return (encoded >>> 1) ^ (-(encoded & 1));
|
int | zigzagDecode(int encoded) zigzag Decode if ((encoded & 1) == 0) { return (encoded >>> 1); return (encoded >>> 1) ^ -1; |
int | zigZagDecode(int i) Decode an int previously encoded with #zigZagEncode(int) . return ((i >>> 1) ^ -(i & 1));
|
int[] | zigzagDecode(int[] src) zigzag Decode int[] dst = new int[64]; for (int i = 0; i < naturalOrder.length; i++) { dst[naturalOrder[i]] = src[i]; return dst; |
long | zigZagDecode(long n) Zig-zag decode. return ((n >>> 1) ^ -(n & 1));
|
long | zigzagDecode(long val) zigzag decode the given value return (val >>> 1) ^ -(val & 1); |