OOscheme
Interface INEList

All Superinterfaces:
IList
All Known Implementing Classes:
NEList

public interface INEList
extends IList

Represents the structural behavior of an immutable non-empty list. An immutable non-empty list has a data object called first, and an isomorphic subcomponent called rest. Its structural behavior provides access to its internal data (first) and substructure (rest).

Since:
Copyright 2002 - DXN, SBW All rights reserved
Author:
Dung X. Nguyen, Stephen B. Wong

Method Summary
 Object getFirst()
          "Gettor" method for the list's first.
 IList getRest()
          "Gettor" method for the list's rest.
 
Methods inherited from interface OOscheme.IList
execute
 

Method Detail

getFirst

Object getFirst()
"Gettor" method for the list's first.

Returns:
this INElist's first element.

getRest

IList getRest()
"Gettor" method for the list's rest.

Returns:
this INElist's rest.