Class ValueFactory<V extends java.lang.Number>

    • Constructor Summary

      Constructors 
      Constructor Description
      ValueFactory()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract Value<V> newValue()
      Creates a value, which is "silently" set to the zero value.
      abstract Value<V> newValue​(java.lang.Number value)
      Creates a value, which is "vocally" set to the specified value.
      abstract Value<V> newValue​(java.lang.String value)
      Creates a value, which is "vocally" set to the specified value.
      abstract Vector<V> newVector​(int capacity)  
      • Methods inherited from class java.lang.Object

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

      • ValueFactory

        public ValueFactory()
    • Method Detail

      • newValue

        public abstract Value<V> newValue()

        Creates a value, which is "silently" set to the zero value.

      • newValue

        public abstract Value<V> newValue​(java.lang.Number value)

        Creates a value, which is "vocally" set to the specified value.

      • newValue

        public abstract Value<V> newValue​(java.lang.String value)

        Creates a value, which is "vocally" set to the specified value.

      • newVector

        public abstract Vector<V> newVector​(int capacity)