Class GlobalSelector<T>

    • Constructor Detail

      • GlobalSelector

        public GlobalSelector​(T instance)
        Deprecated.
        Construct a new instance.
        Parameters:
        instance - the constant instance to always return from this selector
    • 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