public abstract static class IPointHash.LongImpl extends java.lang.Object implements IPointHash
IPointHash.hashWithState(int, int, int)
, IPointHash.hashWithState(int, int, int, int)
,
IPointHash.hashWithState(int, int, int, int, int)
, IPointHash.hashWithState(int, int, int, int, int, int)
, an
IPointHash.hashWithState(int, int, int, int, int, int, int)
.
They can optionally override setState(int)
or setState(long)
, and can at their discretion
provide an accessor for the protected long state
.IPointHash.IntImpl, IPointHash.LongImpl
Modifier and Type | Field and Description |
---|---|
protected long |
state |
Constructor and Description |
---|
LongImpl() |
LongImpl(int state) |
LongImpl(long 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 LongImpl()
public LongImpl(int state)
public LongImpl(long state)
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.