(FloatArrayBuffer other,
int markOfOther)
| 32 | final class ReadWriteFloatArrayBuffer extends FloatArrayBuffer { |
| 33 | |
| 34 | static ReadWriteFloatArrayBuffer copy(FloatArrayBuffer other, |
| 35 | int markOfOther) { |
| 36 | ReadWriteFloatArrayBuffer buf = new ReadWriteFloatArrayBuffer(other |
| 37 | .capacity(), other.backingArray, other.offset); |
| 38 | buf.limit = other.limit(); |
| 39 | buf.position = other.position(); |
| 40 | buf.mark = markOfOther; |
| 41 | return buf; |
| 42 | } |
| 43 | |
| 44 | ReadWriteFloatArrayBuffer(float[] array) { |
| 45 | super(array); |