|
Servertec Persistent Object Store 1.4.1 09/04/2005 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstec.pos.ObjectStoreUtils
public final class ObjectStoreUtils
Static methods commonly used when working with persistent object stores.
Constructor Summary | |
---|---|
ObjectStoreUtils()
|
Method Summary | |
---|---|
static boolean |
isPrime(int i)
Returns whether the specified number is a prime number. |
static int |
prime(int i)
Returns the next prime number starting with the specified number. |
static int |
prime(int i,
double growth_factor)
Returns the next prime number starting with the specified number plus growth. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectStoreUtils()
Method Detail |
---|
public static final int prime(int i)
integer
- the starting number.
public static final int prime(int i, double growth_factor)
integer
- the starting number.growth_factor
- the percentage to increase the starting number by.
public static final boolean isPrime(int i)
integer
- the number to test.
|
Servertec Persistent Object Store 1.4.1 09/04/2005 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001-2005 Servertec. All rights reserved.