org.codehaus.jparsec
Class Tokens.ScientificNotation

java.lang.Object
  extended by org.codehaus.jparsec.Tokens.ScientificNotation
Enclosing class:
Tokens

public static final class Tokens.ScientificNotation
extends Object

Represents a scientific notation with a significand (mantissa) and an exponent. Both are represented with a String to avoid number range issue.


Field Summary
 String exponent
          The exponent after the "E".
 String significand
          The significand (mantissa) before the "E".
 
Constructor Summary
Tokens.ScientificNotation(String mantissa, String exp)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

significand

public final String significand
The significand (mantissa) before the "E".


exponent

public final String exponent
The exponent after the "E".

Constructor Detail

Tokens.ScientificNotation

public Tokens.ScientificNotation(String mantissa,
                                 String exp)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014. All rights reserved.