Contents
Class CoordinateCache.CoordinateKey
java.lang.Object
com.hypixel.hytale.server.worldgen.cache.CoordinateCache.CoordinateKey
- All Implemented Interfaces:
Function<CoordinateCache.CoordinateKey, CoordinateCache.CoordinateKey>
- Enclosing class:
CoordinateCache<T>
public static class CoordinateCache.CoordinateKey
extends Object
implements Function<CoordinateCache.CoordinateKey, CoordinateCache.CoordinateKey>
- Since:
- 25.07.2016
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(CoordinateCache.CoordinateKey cachedKey) longcoord()booleaninthashCode()intseed()setLocation(int seed, int x, int y)
-
Constructor Details
-
CoordinateKey
public CoordinateKey() -
CoordinateKey
public CoordinateKey(int seed, int x, int y)
-
-
Method Details
-
seed
public int seed() -
coord
public long coord() -
setLocation
-
apply
@Nonnull public CoordinateCache.CoordinateKey apply(@Nonnull CoordinateCache.CoordinateKey cachedKey) - Specified by:
applyin interfaceFunction<CoordinateCache.CoordinateKey, CoordinateCache.CoordinateKey>
-
hashCode
-
equals
-