类 InitialValueFactory


  • public class InitialValueFactory
    extends java.lang.Object
    This value factory creates initial values for fields and array elements, with the help of a given value factory. Note that this class itself doesn't implement ValueFactory.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      Value createValue​(java.lang.String type)
      Creates an initial value (0, 0L, 0.0f, 0.0, null) of the given type.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • InitialValueFactory

        public InitialValueFactory​(ValueFactory valueFactory)
        Creates a new InitialValueFactory.
        参数:
        valueFactory - the value factory that will actually create the values.
    • 方法详细资料

      • createValue

        public Value createValue​(java.lang.String type)
        Creates an initial value (0, 0L, 0.0f, 0.0, null) of the given type.