For example, with CharBuffer you can get the next char, get (int index) the char at a specific position, or get (char destination) a bunch of chars.
例如,有了CharBuffer,可以用get获得下一个字符,用get (int index)获得某个特定位置的字符,或者用get (char destination)获得一串字符。
The next few lines introduce the int class constructor.
后面的几行介绍int类的构造函数。
The next method returns an int value which corresponds to an XMLStreamConstants constant.
next方法返回一个对应于xmlstreamconstants常量的int值。
应用推荐