public AbbreviatedObjectId abbreviate(int len) {final int a = AbbreviatedObjectId.mask(len, 1, w1);final int b = AbbreviatedObjectId.mask(len, 2, w2);final int c = AbbreviatedObjectId.mask(len, 3, w3);final int d = AbbreviatedObjectId.mask(len, 4, w4);final int e = AbbreviatedObjectId.mask(len, 5, w5);return new AbbreviatedObjectId(len, a, b, c, d, e);}
public virtual AbbreviatedObjectId Abbreviate(int len){int a = AbbreviatedObjectId.Mask(len, 1, w1);int b = AbbreviatedObjectId.Mask(len, 2, w2);int c = AbbreviatedObjectId.Mask(len, 3, w3);int d = AbbreviatedObjectId.Mask(len, 4, w4);int e = AbbreviatedObjectId.Mask(len, 5, w5);return new AbbreviatedObjectId(len, a, b, c, d, e);}