Contents
Class ProvidedIndexAssetMap<K, T extends JsonAssetWithMap<K, ProvidedIndexAssetMap<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.ProvidedIndexAssetMap<K,T>
public class ProvidedIndexAssetMap<K, T extends JsonAssetWithMap<K, ProvidedIndexAssetMap<K,T>>>
extends AssetMapWithIndexes<K,T>
Store a key to index mapping.
The index is provided via a function to allow external systems to calculate indexes.
- 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
getIndexesForTagMethods inherited from class DefaultAssetMap
getAsset, getAsset, getAssetCount, getAssetMap, getAssetPack, getChildren, getKeys, getKeysForPack, getKeysForTag, getPath, getPathMap, getTagCount, getTagIndexes
-
Constructor Details
-
ProvidedIndexAssetMap
-
-
Method Details
-
getIndex
-
getIndexOrDefault
-
requireReplaceOnRemove
public boolean requireReplaceOnRemove()- Overrides:
requireReplaceOnRemovein classAssetMapWithIndexes<K, T extends JsonAssetWithMap<K, ProvidedIndexAssetMap<K,T>>>
-