Package squidpony.squidmath
Class FlawedPointHash.RugHash
java.lang.Object
squidpony.squidmath.IPointHash.LongImpl
squidpony.squidmath.FlawedPointHash.RugHash
- All Implemented Interfaces:
FlawedPointHash,IFlawed,IPointHash
- Enclosing interface:
- FlawedPointHash
public static class FlawedPointHash.RugHash extends IPointHash.LongImpl implements FlawedPointHash
Produces hashes that show strong bias on one axis (usually the later axes matter more) and have nice-looking
patterns of dots. Better patterns are present in the higher bits.
-
Nested Class Summary
Nested classes/interfaces inherited from interface squidpony.squidmath.FlawedPointHash
FlawedPointHash.CubeHash, FlawedPointHash.FNVHash, FlawedPointHash.QuiltHash, FlawedPointHash.RugHashNested classes/interfaces inherited from interface squidpony.squidmath.IPointHash
IPointHash.IntImpl, IPointHash.LongImpl -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description longgetState()static inthashLongs(long x, long y, long s)static inthashLongs(long x, long y, long z, long s)static inthashLongs(long x, long y, long z, long w, long s)static inthashLongs(long x, long y, long z, long w, long u, long v, long s)inthashWithState(int x, int y, int state)inthashWithState(int x, int y, int z, int state)inthashWithState(int x, int y, int z, int w, int state)inthashWithState(int x, int y, int z, int w, int u, int v, int state)Methods inherited from class squidpony.squidmath.IPointHash.LongImpl
hash, hash, hash, hash, setState, setState
-
Constructor Details
-
Method Details
-
getState
-
hashLongs
-
hashLongs
-
hashLongs
-
hashLongs
-
hashWithState
- Specified by:
hashWithStatein interfaceIPointHash
-
hashWithState
- Specified by:
hashWithStatein interfaceIPointHash
-
hashWithState
- Specified by:
hashWithStatein interfaceIPointHash
-
hashWithState
- Specified by:
hashWithStatein interfaceIPointHash
-