de.esprit.common.util

## Class IntStack

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

- All Implemented Interfaces:
    Dumpable

      public class IntStack
      extends IntArray

  This class implements an IntArray with a limited size. It can be used to build the integral (accumulated by time) of int values.
  Author:
    Rainer Buesch

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IntStack(int maxSize)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(int x)`
    `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.IntArray

      `clear, get, getArray, getSize, getTotalSum, main, setSortMode, toDumpString`

    - ### 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

    - #### IntStack

          public IntStack(int maxSize)

  - ### Method Detail

    - #### add

          public void add(int x)

      Overrides:
        `add` in class `IntArray`

    - #### 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 `IntArray`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.