public static class FlawedPointHash.CubeHash extends IPointHash.LongImpl implements FlawedPointHash
FlawedPointHash.QuiltHash, but this doesn't change the pattern in different large squares, and instead
repeats a square or cube of symmetric and patterned results over and over (so it can be tiled).FlawedPointHash.CubeHash, FlawedPointHash.FNVHash, FlawedPointHash.QuiltHash, FlawedPointHash.RugHashIPointHash.IntImpl, IPointHash.LongImplstate| Constructor and Description |
|---|
CubeHash() |
CubeHash(long state) |
CubeHash(long state,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
long |
getState() |
long |
hashLongs(long x,
long y,
long s) |
long |
hashLongs(long x,
long y,
long z,
long s) |
long |
hashLongs(long x,
long y,
long z,
long w,
long s) |
long |
hashLongs(long x,
long y,
long z,
long w,
long u,
long s) |
long |
hashLongs(long x,
long y,
long z,
long w,
long u,
long v,
long s) |
int |
hashWithState(int x,
int y,
int state) |
int |
hashWithState(int x,
int y,
int z,
int state) |
int |
hashWithState(int x,
int y,
int z,
int w,
int state) |
int |
hashWithState(int x,
int y,
int z,
int w,
int u,
int state) |
int |
hashWithState(int x,
int y,
int z,
int w,
int u,
int v,
int state) |
void |
setSize(int size) |
hash, hash, hash, hash, hash, setState, setStatepublic CubeHash()
public CubeHash(long state)
public CubeHash(long state,
int size)
public long getState()
public int getSize()
public void setSize(int size)
public long hashLongs(long x,
long y,
long s)
public long hashLongs(long x,
long y,
long z,
long s)
public long hashLongs(long x,
long y,
long z,
long w,
long s)
public long hashLongs(long x,
long y,
long z,
long w,
long u,
long s)
public long hashLongs(long x,
long y,
long z,
long w,
long u,
long v,
long s)
public int hashWithState(int x,
int y,
int state)
hashWithState in interface IPointHashpublic int hashWithState(int x,
int y,
int z,
int state)
hashWithState in interface IPointHashpublic int hashWithState(int x,
int y,
int z,
int w,
int state)
hashWithState in interface IPointHashpublic int hashWithState(int x,
int y,
int z,
int w,
int u,
int state)
hashWithState in interface IPointHashpublic int hashWithState(int x,
int y,
int z,
int w,
int u,
int v,
int state)
hashWithState in interface IPointHashCopyright © Eben Howard 2012–2022. All rights reserved.