Package net.minecraft.util
Class CachedMapper<K,V> 
java.lang.Object
net.minecraft.util.CachedMapper<K,V> 
A mapper that caches the latest input-output pair, so that repeated calls with
 the same argument do not call the expensive mapper function.
- See Also:
 - Mappings:
 Namespace Name named net/minecraft/util/CachedMapperintermediary net/minecraft/class_8105official bfz
- 
Field Details
- 
mapper
- Mappings:
 Namespace Name Mixin selector named mapperLnet/minecraft/util/CachedMapper;mapper:Ljava/util/function/Function;intermediary field_42269Lnet/minecraft/class_8105;field_42269:Ljava/util/function/Function;official aLbfz;a:Ljava/util/function/Function;
 - 
cachedInput
- Mappings:
 Namespace Name Mixin selector named cachedInputLnet/minecraft/util/CachedMapper;cachedInput:Ljava/lang/Object;intermediary field_42270Lnet/minecraft/class_8105;field_42270:Ljava/lang/Object;official bLbfz;b:Ljava/lang/Object;
 - 
cachedOutput
- Mappings:
 Namespace Name Mixin selector named cachedOutputLnet/minecraft/util/CachedMapper;cachedOutput:Ljava/lang/Object;intermediary field_42271Lnet/minecraft/class_8105;field_42271:Ljava/lang/Object;official cLbfz;c:Ljava/lang/Object;
 
 - 
 - 
Constructor Details
- 
CachedMapper
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/util/CachedMapper;<init>(Ljava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_8105;<init>(Ljava/util/function/Function;)Vofficial <init>Lbfz;<init>(Ljava/util/function/Function;)V
 
 - 
 - 
Method Details
- 
map
Returns the mappedinput.- Returns:
 - the mapped 
input - Mappings:
 Namespace Name Mixin selector named mapLnet/minecraft/util/CachedMapper;map(Ljava/lang/Object;)Ljava/lang/Object;intermediary method_48782Lnet/minecraft/class_8105;method_48782(Ljava/lang/Object;)Ljava/lang/Object;official aLbfz;a(Ljava/lang/Object;)Ljava/lang/Object;
 
 -