Library Mobile API Reference for iPad  MicroStrategy 2019
Stack Class Reference

#import <Stack.h>

Inheritance diagram for Stack:

Instance Methods

(void) - push:
 
(id) - pop
 
(id) - peek
 
(Stack *) - initWithCapacity:
 
(NSInteger) - count
 
(BOOL) - isEmpty
 

Protected Attributes

NSMutableArray * array
 

Method Documentation

◆ count()

- (NSInteger) count

◆ initWithCapacity:()

- (Stack*) initWithCapacity: (int)  capacity

◆ isEmpty()

- (BOOL) isEmpty

◆ peek()

- (id) peek

◆ pop()

- (id) pop

◆ push:()

- (void) push: (id)  object

Member Data Documentation

◆ array

- (NSMutableArray*) array
protected