接口 DefaultValueProcessor

所有已知实现类:
DefaultDefaultValueProcessor

public interface DefaultValueProcessor
Defines the default value for a type when its value is null.
  • 方法概要

    修饰符和类型
    方法
    说明
    Returns an appropriate default value for a type.
  • 方法详细资料

    • getDefaultValue

      Object getDefaultValue(Class type)
      Returns an appropriate default value for a type.
      参数:
      type -
      返回:
      the default value for instances of type