org.nfunk.jep.type
Interface NumberFactory
- All Known Implementing Classes:
- DoubleNumberFactory
- public interface NumberFactory
This interface can be implemented to create numbers of any object type.
By implementing this interface and calling the setNumberFactory() method of
the JEP class, the constants in an expression will be created with that
class.
|
Method Summary |
java.lang.Object |
createNumber(java.lang.String value)
Creates a number object and initializes its value. |
createNumber
public java.lang.Object createNumber(java.lang.String value)
- Creates a number object and initializes its value.
- Parameters:
value - The initial value of the number as a string.
http://www.singularsys.com/jep Copyright © 2004 Singular Systems