|
| static int | countPagesNumber (int objectsSize, int pageSize) |
| |
| static int | limit (int numToTest, int min, int max) |
| |
|
static String | formatDate (Date date, String format) |
| |
◆ countPagesNumber()
| static int com.premium.game.datatables.MathUtil.countPagesNumber |
( |
int |
objectsSize, |
|
|
int |
pageSize |
|
) |
| |
|
inlinestatic |
- Parameters
-
| objectsSize | : The overall elements size. |
| pageSize | : The number of elements per page. |
- Returns
- The number of pages, based on the number of elements and the number of elements we want per page.
◆ limit()
| static int com.premium.game.datatables.MathUtil.limit |
( |
int |
numToTest, |
|
|
int |
min, |
|
|
int |
max |
|
) |
| |
|
inlinestatic |
- Parameters
-
| numToTest | : The number to test. |
| min | : The minimum limit. |
| max | : The maximum limit. |
- Returns
- the number or one of the limit (mininum / maximum).
The documentation for this class was generated from the following file:
- /home/master/Documents/l2/servers/source/l2premium/L2JPremium_GameServer/src/com/premium/game/datatables/MathUtil.java