%
%  Node, 4.3.5: Knoten einer einfach verketteten Liste
%
classdef Node < handle

   properties
     next = Node.empty;
     data = [];    % Daten 
   end     % properties

   methods
     function obj = Node( varargin )
       obj.next = Node.empty;
       if( nargin > 0 )
         obj.data = varargin{1};
       end
     end
     
     function delete( obj )
      fprintf( 'delete: Node \n' );
     end    
   end   % methods  
   
end
