Class HashedBiCoordinateCache<T>
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.datastructures.bicoordinatecache.HashedBiCoordinateCache<T>
- All Implemented Interfaces:
BiCoordinateCache<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
values
-
-
Constructor Details
-
HashedBiCoordinateCache
public HashedBiCoordinateCache()
-
-
Method Details
-
hash
public static long hash(int x, int z) -
get
- Specified by:
getin interfaceBiCoordinateCache<T>
-
isCached
public boolean isCached(int x, int z) - Specified by:
isCachedin interfaceBiCoordinateCache<T>
-
save
- Specified by:
savein interfaceBiCoordinateCache<T>
-
flush
public void flush(int x, int z) - Specified by:
flushin interfaceBiCoordinateCache<T>
-
flush
public void flush()- Specified by:
flushin interfaceBiCoordinateCache<T>
-
size
public int size()- Specified by:
sizein interfaceBiCoordinateCache<T>
-
toString
-