com.ximpleware.intHash2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vtd-xml Show documentation
Show all versions of vtd-xml Show documentation
XimpleWare's VTD-XML is, far and away, the industry's most advanced and powerful XML processing model for SOA and Cloud Computing
The newest version!
package com.ximpleware;
public class intHash2 {
private int mask1 = 0x7ff;
//2048
private int mask2 = 0xfffff800;
private int pageSizeE = 3; // 32 * 4 bytes
protected Object[] storage;
private int hashWidth = 1<<11;
private int maxDepth;
protected int e;
public intHash2(int hashWidthExpo){
e=hashWidthExpo;
hashWidth = 1<maxDepth){
maxDepth = temp;
}
if (storage[temp]==null) {
int[] ia= new int[1<