de.esprit.common.util

## Class IntArray

- java.lang.Object
- - de.esprit.common.util.DumpableObject
  - - de.esprit.common.util.IntArray

- All Implemented Interfaces:
    Dumpable
  Direct Known Subclasses:
    IntStack

      public class IntArray
      extends DumpableObject

  This class emulates a dynamic integer array.
  Author:
    Rainer Buesch

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IntArray()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(int x)`
    `void` | `clear()`
    `int` | `get(int i)`
    `protected java.util.List` | `getArray()`
    `int` | `getSize()`
    `int` | `getTotalSum()`
    `static void` | `main(java.lang.String[] args)`
    `void` | `setSortMode(SortMode sortMode)`
    `DumpString` | `toDumpString(DumpString s)` This method allows subclasses to add values to the existing DumpString of the superclass.
    `ToString` | `toString(ToString s)` This method allows subclasses to add values to the existing ToString of the superclass.

    - ### Methods inherited from class de.esprit.common.util.DumpableObject

      `configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### IntArray

          public IntArray()

  - ### Method Detail

    - #### add

          public void add(int x)

    - #### getArray

          protected java.util.List getArray()

    - #### get

          public int get(int i)

    - #### clear

          public void clear()

    - #### getSize

          public int getSize()

    - #### setSortMode

          public void setSortMode(SortMode sortMode)

    - #### getTotalSum

          public int getTotalSum()

    - #### toString

          public ToString toString(ToString s)

      Description copied from interface: `Dumpable`
      This method allows subclasses to add values to the existing ToString of the superclass. Usually subclasses only need to override this method.
      Specified by:
        `toString` in interface `Dumpable`
      Overrides:
        `toString` in class `DumpableObject`

    - #### toDumpString

          public DumpString toDumpString(DumpString s)

      Description copied from interface: `Dumpable`
      This method allows subclasses to add values to the existing DumpString of the superclass. Usually subclasses only need to override this method.
      Specified by:
        `toDumpString` in interface `Dumpable`
      Overrides:
        `toDumpString` in class `DumpableObject`

    - #### main

          public static void main(java.lang.String[] args)

Copyright © 2014 EsprIT-Systems. All Rights Reserved.