Esempio n. 1
0
    void shift(int where, int gapLength, boolean exclusive) {
      int p = pos;
      defaultByte = newOffset(p, defaultByte, where, gapLength, exclusive);
      int num = offsets.length;
      for (int i = 0; i < num; i++)
        offsets[i] = newOffset(p, offsets[i], where, gapLength, exclusive);

      super.shift(where, gapLength, exclusive);
    }
Esempio n. 2
0
 void shift(int where, int gapLength, boolean exclusive) {
   offset = newOffset(pos, offset, where, gapLength, exclusive);
   super.shift(where, gapLength, exclusive);
 }
Esempio n. 3
0
 void shift(int where, int gapLength, boolean exclusive) {
   offset = newOffset(pos, offset, where, gapLength, exclusive);
   super.shift(where, gapLength, exclusive);
   if (state == BIT16) if (offset < Short.MIN_VALUE || Short.MAX_VALUE < offset) state = EXPAND;
 }