Class ExtendedCoordinateCache.ExtendedCoordinateKey<K>
java.lang.Object
com.hypixel.hytale.server.worldgen.cache.ExtendedCoordinateCache.ExtendedCoordinateKey<K>
- All Implemented Interfaces:
Function<ExtendedCoordinateCache.ExtendedCoordinateKey<K>,ExtendedCoordinateCache.ExtendedCoordinateKey<K>>
- Enclosing class:
ExtendedCoordinateCache<K,T>
public static class ExtendedCoordinateCache.ExtendedCoordinateKey<K>
extends Object
implements Function<ExtendedCoordinateCache.ExtendedCoordinateKey<K>,ExtendedCoordinateCache.ExtendedCoordinateKey<K>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ExtendedCoordinateCache.ExtendedCoordinateKey<K> cachedKey) booleaninthashCode()setLocation(K k, int seed, int x, int y)
-
Field Details
-
k
-
seed
private int seed -
coord
private long coord -
hash
private int hash
-
-
Constructor Details
-
ExtendedCoordinateKey
public ExtendedCoordinateKey() -
ExtendedCoordinateKey
-
-
Method Details
-
setLocation
@Nonnull public ExtendedCoordinateCache.ExtendedCoordinateKey<K> setLocation(@Nonnull K k, int seed, int x, int y) -
apply
@Nonnull public ExtendedCoordinateCache.ExtendedCoordinateKey<K> apply(@Nonnull ExtendedCoordinateCache.ExtendedCoordinateKey<K> cachedKey) - Specified by:
applyin interfaceFunction<ExtendedCoordinateCache.ExtendedCoordinateKey<K>,ExtendedCoordinateCache.ExtendedCoordinateKey<K>>
-
hashCode
public int hashCode() -
equals
-