View Javadoc
1   package calculator.atoms;
2   
3   /**
4    * Enumeration of possible atom (number) types
5    */
6   public enum AtomType {
7   	/**
8   	 * Complex number, e.g. 3i, 5, 5+3ei
9   	 */
10  	COMPLEX,
11  
12  	/**
13  	 * Real number, e.g. 4.555, 5E-10, 5
14  	 */
15  	REAL,
16  
17  	/**
18  	 * Rationnal number, e.g. 1/3, 5, 99/1010
19  	 */
20  	RATIONNAL,
21  
22  	/**
23  	 * Integer e.g 3, 0, 5
24  	 */
25  	INTEGER
26  }