LinkedDoubleStack (API documentation of hlt.language packages)
Date: 2013-01-30

hlt.language.util

## Class LinkedDoubleStack

- java.lang.Object
- - hlt.language.util.LinkedStack
  - - hlt.language.util.LinkedDoubleStack

-     public class LinkedDoubleStack
      extends LinkedStack

  This class implements a stack of ints using a Lisp-style list representation.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `LinkedDoubleStack.Cell`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LinkedDoubleStack()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DoubleIterator` | `iterator()`
    `double` | `peek()`
    `double` | `peek(int n)`
    `double` | `pop()`
    `void` | `push(double x)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class hlt.language.util.LinkedStack

      `clear, isEmpty, set, top, top`

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

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

- - ### Constructor Detail

    - #### LinkedDoubleStack

          public LinkedDoubleStack()

  - ### Method Detail

    - #### push

          public final void push(double x)

    - #### pop

          public final double pop()

    - #### peek

          public final double peek()

    - #### peek

          public final double peek(int n)

    - #### iterator

          public final DoubleIterator iterator()

    - #### toString

          public final java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`