public abstract static class IPointHash.IntImpl extends java.lang.Object implements IPointHash
IPointHash.hashWithState(int, int, int), IPointHash.hashWithState(int, int, int, int),
IPointHash.hashWithState(int, int, int, int, int), and IPointHash.hashWithState(int, int, int, int, int, int, int).
They can optionally override setState(int), and can at their discretion provide an accessor for the
protected int state.IPointHash.IntImpl, IPointHash.LongImpl| Modifier and Type | Field and Description |
|---|---|
protected int |
state |
| Modifier and Type | Method and Description |
|---|---|
int |
hash(int x,
int y) |
int |
hash(int x,
int y,
int z) |
int |
hash(int x,
int y,
int z,
int w) |
int |
hash(int x,
int y,
int z,
int w,
int u) |
int |
hash(int x,
int y,
int z,
int w,
int u,
int v) |
void |
setState(int state) |
void |
setState(long state) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithashWithState, hashWithState, hashWithState, hashWithState, hashWithStatepublic void setState(int state)
setState in interface IPointHashpublic void setState(long state)
setState in interface IPointHashpublic int hash(int x,
int y)
hash in interface IPointHashpublic int hash(int x,
int y,
int z)
hash in interface IPointHashpublic int hash(int x,
int y,
int z,
int w)
hash in interface IPointHashpublic int hash(int x,
int y,
int z,
int w,
int u)
hash in interface IPointHashpublic int hash(int x,
int y,
int z,
int w,
int u,
int v)
hash in interface IPointHashCopyright © Eben Howard 2012–2022. All rights reserved.