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

17 lines
351 B
C++

#ifndef __ORDEQUE_H__
#define __ORDEQUE_H__
#include "linkedlist.h"
class ordeque {
public:
linkedlist l;
bool addToORDequeLeft(int id);
bool addToORDequeRight(int id);
bool removeFromORDequeLeft();
int showTopOfORDequeLeft();
int showSizeOfORDeque();
bool in_ordeque(int id);
};
#endif