Class Poly.Incremental
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Poly.Incremental

java.lang.Object
   |
   +----Poly.List
           |
           +----Poly.Incremental

public class Incremental
extends List

Constructor Index

 o Incremental(Growable)

Method Index

 o ensureGrown()
 o first()
first() returns the first element of a non-empty List.
 o getList()
 o getNonEmpty()
getNonEmpty() gets a NonEmptyList from a List
 o grown()
 o isEmpty()
isEmpty() tells whether the List is empty.
 o nonEmpty()
nonEmpty() tells whether the List is non-empty.
 o rest()
rest() returns the rest of a non-empty List.
 o toString()
toString converts the list to a string using S expression formatting

Constructors

 o Incremental
  public Incremental(Growable growable)

Methods

 o first
  public Object first() throws EmptyListException
first() returns the first element of a non-empty List.
Overrides:
first in class List
 o rest
  public List rest() throws EmptyListException
rest() returns the rest of a non-empty List.
Overrides:
rest in class List
 o getNonEmpty
  public NonEmptyList getNonEmpty() throws EmptyListException
getNonEmpty() gets a NonEmptyList from a List
Overrides:
getNonEmpty in class List
 o isEmpty
  public boolean isEmpty()
isEmpty() tells whether the List is empty.
Overrides:
isEmpty in class List
 o nonEmpty
  public boolean nonEmpty()
nonEmpty() tells whether the List is non-empty.
Overrides:
nonEmpty in class List
 o toString
  public String toString()
toString converts the list to a string using S expression formatting
Overrides:
toString in class List
 o ensureGrown
  public void ensureGrown()
 o grown
  public boolean grown()
 o getList
  public List getList()

All Packages  Class Hierarchy  This Package  Previous  Next  Index