protected void checkShortIndex(int shortIndex) {
    if (shortIndex < 0 || shortIndex >= shortSize()) {
      throw new IndexOutOfBoundsException("ShortSize is: " + shortSize() + ", but shortIndex: " + shortIndex);
    }
  }
protected void checkShortIndex(int shortIndex)