|
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.xpos.ObjectStoreUtils
public final class ObjectStoreUtils
Static methods commonly used when working with persistent object stores.
| Constructor Summary | |
|---|---|
ObjectStoreUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
isPrime(long l)
Returns whether the specified number is a prime number. |
static long |
prime(long l)
Returns the next prime number starting with the specified number. |
static long |
prime(long l,
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 long prime(long l)
long - the starting number.
public static final long prime(long l,
double growth_factor)
long - the starting number.growth_factor - the percentage to increase the starting number by.
public static final boolean isPrime(long l)
long - 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.