Why is System.arraycopy not camelCased?

纵然是瞬间 提交于 2019-11-30 14:39:02

问题


Java's standard libraries seem to use camelCase for method names. Native functions like nanoTime() are no exceptions.

If so, why is System.arraycopy not camelCased?

Is there something special about System.arraycopy?


回答1:


It's been in Java for before v1.0 was released - so my guess is that it predates the naming conventions, and it was missed in a sweep of the API when the naming conventions were decided.

(In other news, NullPointerException should be called NullReferenceException.)



来源:https://stackoverflow.com/questions/8421103/why-is-system-arraycopy-not-camelcased

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!