Interface listFW.INEList
- public interface INEList
- extends listFW.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).
- Author:
- Dung X. Nguyen, Stephen B. Wong
- getFirst
()
- "Gettor" method for the list's first
- getRest
()
- "Gettor" method for the list's rest
getFirst
public abstract Object getFirst()
- "Gettor" method for the list's first.
- Returns:
- this INElist's first element.
getRest
public abstract IList getRest()
- "Gettor" method for the list's rest.
- Returns:
- this INElist's rest.