Class ThreadLocalSelector<T>

    • Constructor Detail

      • ThreadLocalSelector

        public ThreadLocalSelector​(ThreadLocal<? extends T> threadLocal)
        Deprecated.
        Construct a new instance.
        Parameters:
        threadLocal - the thread-local to use to store the selector's value
    • Method Detail

      • get

        public T get()
        Deprecated.
        Description copied from class: Selector
        Get the currently relevant object, or null if there is none.
        Specified by:
        get in class Selector<T>
        Returns:
        the currently relevant object