Package squidpony.squidmath
Class FlawedPointHash.QuiltHash
java.lang.Object
squidpony.squidmath.IPointHash.LongImpl
squidpony.squidmath.FlawedPointHash.QuiltHash
- All Implemented Interfaces:
FlawedPointHash,IFlawed,IPointHash
- Enclosing interface:
- FlawedPointHash
public static class FlawedPointHash.QuiltHash extends IPointHash.LongImpl implements FlawedPointHash
Extremely flawed if you're using this as a point hash, but meant to be aesthetically interesting, this produces
different symmetrical patterns in squares, as if on a quilt.
-
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 intgetSize()longgetState()longhashLongs(long x, long y, long s)longhashLongs(long x, long y, long z, long s)longhashLongs(long x, long y, long z, long w, long s)longhashLongs(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)voidsetSize(int size)Methods inherited from class squidpony.squidmath.IPointHash.LongImpl
hash, hash, hash, hash, setState, setState
-
Constructor Details
-
Method Details
-
getState
-
getSize
-
setSize
-
hashLongs
-
hashLongs
-
hashLongs
-
hashLongs
-
hashWithState
- Specified by:
hashWithStatein interfaceIPointHash
-
hashWithState
- Specified by:
hashWithStatein interfaceIPointHash
-
hashWithState
- Specified by:
hashWithStatein interfaceIPointHash
-
hashWithState
- Specified by:
hashWithStatein interfaceIPointHash
-