school/cs235/lab05/irdeque.h
2016-04-06 20:46:10 -07:00

18 lines
385 B
C++

#ifndef __IRDEQUE_H__
#define __IRDEQUE_H__
#include "linkedlist.h"
class irdeque {
public:
linkedlist l;
bool addToIRDequeLeft(int id);
bool removeFromIRDequeLeft();
bool removeFromIRDequeRight();
int showTopOfIRDequeLeft();
int showTopOfIRDequeRight();
int showSizeOfIRDeque();
bool in_irdeque(int id);
};
#endif