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, wait
hashWithState, hashWithState, hashWithState, hashWithState, hashWithState
public void setState(int state)
setState
in interface IPointHash
public void setState(long state)
setState
in interface IPointHash
public int hash(int x, int y)
hash
in interface IPointHash
public int hash(int x, int y, int z)
hash
in interface IPointHash
public int hash(int x, int y, int z, int w)
hash
in interface IPointHash
public int hash(int x, int y, int z, int w, int u)
hash
in interface IPointHash
public int hash(int x, int y, int z, int w, int u, int v)
hash
in interface IPointHash
Copyright © Eben Howard 2012–2022. All rights reserved.