public class BitMaskUtils extends Object
| Constructor and Description |
|---|
BitMaskUtils() |
public static long set(long oldValue,
long mask,
long newValue)
oldValue - expected old valuemask - the mask of the value for updatesnewValue - new value to setpublic static long get(long value,
long mask)
value - valuemask - mask of the valueCopyright © 2016. All Rights Reserved.