/* File: intitem.h

   Class for int data stored in a ListNode
*/

#ifndef _intitem_h
#define _intitem_h

typedef int data ;

class ListItem {
public:
   data item ;

   ListItem() ;		/* default constructor */
   ListItem(data) ;	/* alternate constructor */ 
   ~ListItem() ;	/* destructor */
   data copy() ;	/* make a copy */
   int compare(data) ;	/* <0 is smaller, =0 is equal, >0 is bigger */
   void print() ;	/* print to stdout */
} ;

#endif
