Class CachingAccessor<T>

  • Type Parameters:
    T - the type of member values returned by this accessor
    All Implemented Interfaces:
    IMemberAccessor<T,​IItem>

    class CachingAccessor<T>
    extends java.lang.Object
    implements IMemberAccessor<T,​IItem>
    An accessor that can be used for multiple types. It keeps a cache of accessors for the types of the items that getMember(org.openjdk.jmc.common.item.IItem) is called with.

    Note that this class is not thread safe.