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

Class polya.Incremental

java.lang.Object
   |
   +----polya.Polylist
           |
           +----polya.Incremental

public class Incremental
extends Polylist

Constructor Index

 o Incremental(Growable)

Method Index

 o ensureGrown()
 o first()
first() returns the first element of a non-empty Polylist.
 o getList()
 o grown()
 o isEmpty()
isEmpty() tells whether the Polylist is empty.
 o nonEmpty()
nonEmpty() tells whether the Polylist is non-empty.
 o rest()
rest() returns the rest of a non-empty Polylist.
 o toString()
toString() converts Polylist to string, e.g.

Constructors

 o Incremental
  public Incremental(Growable growable)

Methods

 o first
  public Object first()
first() returns the first element of a non-empty Polylist.
Overrides:
first in class Polylist
 o rest
  public Polylist rest()
rest() returns the rest of a non-empty Polylist.
Overrides:
rest in class Polylist
 o isEmpty
  public boolean isEmpty()
isEmpty() tells whether the Polylist is empty.
Overrides:
isEmpty in class Polylist
 o nonEmpty
  public boolean nonEmpty()
nonEmpty() tells whether the Polylist is non-empty.
Overrides:
nonEmpty in class Polylist
 o toString
  public String toString()
toString() converts Polylist to string, e.g.
Overrides:
toString in class Polylist
 o ensureGrown
  public void ensureGrown()
 o grown
  public boolean grown()
 o getList
  public Polylist getList()

All Packages  Class Hierarchy  This Package  Previous  Next  Index