Class UndefinedDefaultBehaviorProvider<T>

  • Type Parameters:
    T - The type of values represented by this provider.

    public final class UndefinedDefaultBehaviorProvider<T>
    extends DefaultBehaviorProvider<T>
    A default behavior provider which indicates undefined behavior. It should be used by properties which have no default values or behavior as such. For example, a description property, when left unset, has no default value and no side-effects.
    • Constructor Detail

      • UndefinedDefaultBehaviorProvider

        public UndefinedDefaultBehaviorProvider()
        Create an undefined default behavior provider.
    • Method Detail

      • accept

        public <R,​P> R accept​(DefaultBehaviorProviderVisitor<T,​R,​P> v,
                                    P p)
        Description copied from class: DefaultBehaviorProvider
        Apply a visitor to this default behavior provider.
        Specified by:
        accept in class DefaultBehaviorProvider<T>
        Type Parameters:
        R - The return type of the visitor's methods.
        P - The type of the additional parameters to the visitor's methods.
        Parameters:
        v - The default behavior visitor.
        p - Optional additional visitor parameter.
        Returns:
        Returns a result as specified by the visitor.