File: DogArray.rst

package info (click to toggle)
ddogleg 0.22%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,208 kB
  • sloc: java: 36,432; makefile: 168; python: 52
file content (16 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DogArray
#######################

DogArrays are re-sizable arrays with implementations available for primitive types and generic objects. Internally
it uses an array that can be directly accessed. The name DogArray comes from the library name and was selected since
just about every permutation on growable array conflicted with an existing library. Plus who doesn't like dogs?

:gitexample:`ExampleDogArray.java`

.. literalinclude:: ../../examples/src/org/ddogleg/example/ExampleDogArray.java
   :language: java
   :linenos:
   :start-after: public class
   :tab-width: 4
   :dedent: 4