为什么System.arraycopy不是camelCased? [英] Why is System.arraycopy not camelCased?

查看:99
本文介绍了为什么System.arraycopy不是camelCased?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Java的标准库似乎使用camelCase作为方法名称。 Native 函数如 nanoTime()也不例外。

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

如果是这样,为什么是 System.arraycopy 不是camelCased?

If so, why is System.arraycopy not camelCased?

System.arraycopy是否有特别之处

推荐答案

在v1.0发布之前它已经在Java中了 - 所以我的猜测是它早于命名约定,当命名约定 决定时,它在API的扫描中被遗漏。

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.

(在其他新闻中,<$应该调用c $ c> NullPointerException NullReferenceException 。)

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

这篇关于为什么System.arraycopy不是camelCased?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆