org.abora.white.tabtool
Class LPPrimeSizeProvider

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.tabtool.PrimeSizeProvider
              |
              +--org.abora.white.tabtool.LPPrimeSizeProvider

public class LPPrimeSizeProvider
extends PrimeSizeProvider

This is a non-stepper stepper that returns a stream of prime numbers. SCPrimeSizeProvider rejects many primes to be nice for secondary clustering at the cost of increased table size, LPPrimeSizeProvider does not claim to do this. - michael 31 July 1991


Field Summary
protected static LPPrimeSizeProvider MySoleProvider
           
 
Fields inherited from class org.abora.white.tabtool.PrimeSizeProvider
smallPrimeTable
 
Constructor Summary
protected LPPrimeSizeProvider(Int32Array aSmallPrimeTable)
           
 
Method Summary
 int actualHashForEqual()
          Defined by subclasses to produce the value returned by hashForEqual.
 boolean isEqual(Heaper other)
          Return true if the two objects are equal.
static PrimeSizeProvider make()
           
static Int32Array primeTable()
           
 
Methods inherited from class org.abora.white.tabtool.PrimeSizeProvider
primeAfter, uInt32PrimeAfter
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
destroy, destruct, equals, hashForEqual, printContentsOn, printOn, sendSelfTo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MySoleProvider

protected static LPPrimeSizeProvider MySoleProvider
Constructor Detail

LPPrimeSizeProvider

protected LPPrimeSizeProvider(Int32Array aSmallPrimeTable)
Method Detail

make

public static PrimeSizeProvider make()

actualHashForEqual

public int actualHashForEqual()
Description copied from class: Heaper
Defined by subclasses to produce the value returned by hashForEqual.

Overrides:
actualHashForEqual in class PrimeSizeProvider

isEqual

public boolean isEqual(Heaper other)
Description copied from class: Heaper
Return true if the two objects are equal.

Overrides:
isEqual in class PrimeSizeProvider

primeTable

public static Int32Array primeTable()


Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.