class MaskedLong implements Comparable<MaskedLong> {

	public MaskedLong shiftRight(long n) {
		if (n == 0) {
			return this;
		}
		return fromMaskAndValue(this.msk >> n, this.val >> n);
	}

	protected  MaskedLong(long msk, long val);

}