Anyone using short and byte primitive types, in real apps?

后端 未结 15 3306
遥遥无期
遥遥无期 2021-02-20 08:09

I have been programming in Java since 2004, mostly enterprise and web applications. But I have never used short or byte, other than a toy program just to know

15条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-20 08:10

    Apache POI was using short quite a few times. Probably because of Excel's row/column number limitation.

    A few months ago they changed to int replacing

    createCell(short columnIndex)

    with

    createCell(int column).

提交回复
热议问题