Home » freemarker-2.3.13 » freemarker.template » [javadoc | source]
public final class: SimpleNumber [javadoc | source]

All Implemented Interfaces:
    Serializable, TemplateNumberModel

A simple implementation of the TemplateNumberModel interface. Note that this class is immutable.

This class is thread-safe.

 public SimpleNumber(Number value) 
 public SimpleNumber(byte val) 
 public SimpleNumber(short val) 
 public SimpleNumber(int val) 
 public SimpleNumber(long val) 
 public SimpleNumber(float val) 
 public SimpleNumber(double val) 
Method from freemarker.template.SimpleNumber Summary:
getAsNumber,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.template.SimpleNumber Detail:
 public Number getAsNumber() 
 public String toString()