Class SimpleHierarchyAwareMappingLookup

java.lang.Object
org.stianloader.remapper.HierarchyAwareMappingDelegator<SimpleMappingLookup>
org.stianloader.remapper.SimpleHierarchyAwareMappingLookup
All Implemented Interfaces:
MappingLookup, MappingSink

public class SimpleHierarchyAwareMappingLookup extends HierarchyAwareMappingDelegator<SimpleMappingLookup>
A simple implementation of HierarchyAwareMappingDelegator that uses a SimpleMappingLookup as a delegate. The inheritance hierarchy is provided by a HierarchyAwareMappingDelegator.TopLevelMemberLookup, which can either be supplied directly, computed

Thread safety and concurrency

This implementation is not thread-safe as-is due to SimpleMappingLookup not being thread-safe either. It may be safe to use in a read-only manner within concurrent environments, however it is recommended against doing so. For more information, read the documentation of SimpleMappingLookup and HierarchyAwareMappingDelegator as well as the appropriate implementation of HierarchyAwareMappingDelegator.TopLevelMemberLookup (unless you use your own instance it is likely to be thread-safe, to the extend specified).