Class algebra.answer
public class answer {}
Each trial by the user is treated as an answer.It holds an
array of entitiys( sentence or table ).
Field Index:
- entity[] lines
- This holds the array of sentences or tables.
Constructor Index:
Method Index:
- void add_line( entity ent )
- This adds a line( which is an entity ). The implementation is
like add() in algebra.sentence.
- The class of the incoming entity 'ent' is found using java.lang.Object.getClass()
and a new
- instance is created and assigned to the next element in the array lines[]
using the
- java.lang.Class.newInstance().
- int noflines()
- This returns the number of lines.
- entity get_line( int i )
- This returns the entity in the 'i'th line.
algebra Package / misc
Package / Making of the project
/ Project Home Page / My
Home Page