Contents
Class IndexedAssetMap<K, T extends JsonAssetWithMap<K, IndexedAssetMap<K,T>> >
java.lang.Object
com.hypixel.hytale.assetstore.AssetMap<K,T>
com.hypixel.hytale.assetstore.map.DefaultAssetMap<K,T>
com.hypixel.hytale.assetstore.map.AssetMapWithIndexes<K,T>
com.hypixel.hytale.assetstore.map.IndexedAssetMap<K,T>
public class IndexedAssetMap<K, T extends JsonAssetWithMap<K, IndexedAssetMap<K,T>>>
extends AssetMapWithIndexes<K,T>
Store a key to index mapping.
The Index is calculated at load time and so is a runtime only value.
- Since:
- 16/9/17.
- Version:
- 1.0
-
Field Summary
Fields inherited from class AssetMapWithIndexes
NOT_FOUNDFields inherited from class DefaultAssetMap
DEFAULT_PACK_KEY, EMPTY_PAIR_ARRAY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AssetMapWithIndexes
getIndexesForTag, requireReplaceOnRemoveMethods inherited from class DefaultAssetMap
getAsset, getAsset, getAssetCount, getAssetMap, getAssetPack, getChildren, getKeys, getKeysForPack, getKeysForTag, getPath, getPathMap, getTagCount, getTagIndexes
-
Constructor Details
-
IndexedAssetMap
public IndexedAssetMap()
-
-
Method Details
-
getIndex
-
getIndexOrDefault
-
getNextIndex
public int getNextIndex()
-