public static int nextHighestPowerOfTwo(int v) {v--;v |= v >> 1;v |= v >> 2;v |= v >> 4;v |= v >> 8;v |= v >> 16;v++;return v;}

public static int nextHighestPowerOfTwo ( int v ) { v -- ; v |= v > > 1 ; v |= v > > 2 ; v |= v > > 4 ; v |= v > > 8 ; v |= v > > 16 ; v ++ ; return v ; }
public static int NextHighestPowerOfTwo(int v){v--;v |= v >> 1;v |= v >> 2;v |= v >> 4;v |= v >> 8;v |= v >> 16;v++;return v;}
