Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Value createValue​(java.lang.String type)
      Creates an initial value (0, 0L, 0.0f, 0.0, null) of the given type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InitialValueFactory

        public InitialValueFactory​(ValueFactory valueFactory)
        Creates a new InitialValueFactory.
        Parameters:
        valueFactory - the value factory that will actually create the values.
    • Method Detail

      • createValue

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