Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Wiki Markup
Buffer classes defined in the {{java.nio}} package, such as {{IntBuffer}}, {{CharBuffer}}, and {{ByteBuffer}},  define a variety of {{wrap()}} methods that wrap an array of the corresponding primitive data type into a buffer and return the buffer as a {{Buffer}} object. Although these methods create a new {{Buffer}} object, the new {{Buffer}} is backed by the given input array. According to the Java API for these methods \[[API 2006|AA. Bibliography#APIReferences#API 06]\],

The new buffer will be backed by the given character array; that is, modifications to the buffer will cause the array to be modified and vice versa.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="85f053d3b7f102d0-16400f6c-40994ba0-82398a18-6ea5d51c2a28d9ade77737d4"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API References#API 06]]

class CharBuffer

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7285ada79da85464-8592f4fd-4fee46b9-ae238189-53e0e77ef4d92dd1792d7826"><ac:plain-text-body><![CDATA[

[[Hitchens 2002

AA. Bibliography#Hitchens References#Hitchens 02]]

2.3 Duplicating Buffers

]]></ac:plain-text-body></ac:structured-macro>

...