Skip to content

Class monkey.stack.IntStack

Leonard Thieu edited this page Aug 23, 2019 · 2 revisions

An IntStack is a convenience class for dealing with stacks of ints.

Extends

  • Stack<Int>

Constructors

Methods

Detailed Discussion

An IntStack is a convenience class for dealing with stacks of ints.

Constructor Documentation

Method New ()

Creates a new empty IntStack.

Method Documentation

Method Compare : Int ( lhs:Int, rhs:Int )

Implements the Compare method, which allows IntStacks to be sorted using the Sort method.

Clone this wiki locally