/[cvs]/api/Classes/LinkedList/IntLinkedList.h
ViewVC logotype

Contents of /api/Classes/LinkedList/IntLinkedList.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Sun Jul 1 20:47:58 2001 UTC (22 years, 10 months ago) by bearsoft
Branch: lazy, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
First import

1 #ifndef __IntLinkedList_H__
2 #define __IntLinkedList_H__
3
4 #include "../Element/IntElement.h"
5
6 class IntLinkedList
7 {
8
9 public:
10
11 IntLinkedList();
12 ~IntLinkedList();
13
14 IntElement *first;
15 IntElement *last;
16
17 void removeAllElement();
18 void addLast(int iValue);
19 int getElement(int index);
20 int size();
21 bool removeElement(int index);
22 void setElement( int iValue, int index);
23 void sortSmallestOrder();
24 void sortLargestOrder();
25
26
27 private:
28 int howfar;
29
30 };
31
32 #endif

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26