本文整理了Java中java.nio.ByteBuffer.protectedArray()
方法的一些代码示例,展示了ByteBuffer.protectedArray()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuffer.protectedArray()
方法的具体详情如下:
包路径:java.nio.ByteBuffer
类名称:ByteBuffer
方法名:protectedArray
[英]Child class implements this method to realize array().
[中]子类实现此方法以实现数组()。
代码示例来源:origin: libgdx/libgdx
/** Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException if this buffer is based on a read-only array.
* @exception UnsupportedOperationException if this buffer is not based on an array.
* @since Android 1.0 */
public final byte[] array () {
return protectedArray();
}
代码示例来源:origin: libgdx/libgdx
/** Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException if this buffer is based on a read-only array.
* @exception UnsupportedOperationException if this buffer is not based on an array.
* @since Android 1.0 */
public final byte[] array () {
return protectedArray();
}
代码示例来源:origin: robovm/robovm
/**
* Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException
* if this buffer is based on a read-only array.
* @exception UnsupportedOperationException
* if this buffer is not based on an array.
*/
@Override public final byte[] array() {
return protectedArray();
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException
* if this buffer is based on a read-only array.
* @exception UnsupportedOperationException
* if this buffer is not based on an array.
*/
@Override public final byte[] array() {
return protectedArray();
}
代码示例来源:origin: MobiVM/robovm
/**
* Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException
* if this buffer is based on a read-only array.
* @exception UnsupportedOperationException
* if this buffer is not based on an array.
*/
@Override public final byte[] array() {
return protectedArray();
}
代码示例来源:origin: ibinti/bugvm
/**
* Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException
* if this buffer is based on a read-only array.
* @exception UnsupportedOperationException
* if this buffer is not based on an array.
*/
@Override public final byte[] array() {
return protectedArray();
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException
* if this buffer is based on a read-only array.
* @exception UnsupportedOperationException
* if this buffer is not based on an array.
*/
@Override public final byte[] array() {
return protectedArray();
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException
* if this buffer is based on a read-only array.
* @exception UnsupportedOperationException
* if this buffer is not based on an array.
*/
@Override public final byte[] array() {
return protectedArray();
}
代码示例来源:origin: thothbot/parallax
/** Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException if this buffer is based on a read-only array.
* @exception UnsupportedOperationException if this buffer is not based on an array.
* @since Android 1.0 */
public final byte[] array () {
return protectedArray();
}
代码示例来源:origin: dragome/dragome-sdk
/** Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException if this buffer is based on a read-only array.
* @exception UnsupportedOperationException if this buffer is not based on an array.
* @since Android 1.0 */
public final byte[] array () {
return protectedArray();
}
代码示例来源:origin: FlexoVM/flexovm
/**
* Returns the byte array which this buffer is based on, if there is one.
*
* @return the byte array which this buffer is based on.
* @exception ReadOnlyBufferException
* if this buffer is based on a read-only array.
* @exception UnsupportedOperationException
* if this buffer is not based on an array.
*/
@Override public final byte[] array() {
return protectedArray();
}
内容来源于网络,如有侵权,请联系作者删除!