|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bristle.javalib.bean.MathBean
public class MathBean
This class encapsulates mathematical functions in a Java Bean so they can be accessed as beans from JSP/JSTL EL expressions. Usage: - The typical scenario for using this class is:
| Constructor Summary | |
|---|---|
MathBean()
|
|
| Method Summary | |
|---|---|
int |
getMaxRandomInt()
Get the max random int. |
int |
getMinRandomInt()
Get the min random int. |
int |
getRandomInt()
Get a random int. |
void |
setMaxRandomInt(int intVal)
Set the max random int. |
void |
setMinRandomInt(int intVal)
Set the min random int. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MathBean()
| Method Detail |
|---|
public int getRandomInt()
public int getMinRandomInt()
public void setMinRandomInt(int intVal)
public int getMaxRandomInt()
public void setMaxRandomInt(int intVal)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||