|
||||||||||
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:
Field Summary | |
---|---|
private int |
m_intMaxRandomInt
|
private int |
m_intMinRandomInt
|
private static long |
serialVersionUID
This number identifies the version of the class definition, used for serialized instances. |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int m_intMinRandomInt
private int m_intMaxRandomInt
private static final long serialVersionUID
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 |