listFW
Interface INEList<E>

All Superinterfaces:
IList<E>

public interface INEList<E>
extends IList<E>

Represents the structural behavior of an immutable non-empty list that holds elements of type E. 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 2004 - DXN, SBW All rights reserved

Method Summary
 E getFirst()
          "Gettor" method for the list's first.
 IList<? extends E> getRest()
          "Gettor" method for the list's rest.
 
Methods inherited from interface listFW.IList
execute
 

Method Detail

getFirst

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

Returns:
this INElist's first element.

getRest

IList<? extends E> getRest()
"Gettor" method for the list's rest.

Returns:
this INElist's rest.