public abstract class ValueFactory<V extends Number> extends Object implements Serializable
| Constructor and Description |
|---|
ValueFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Value<V> |
newValue()
Creates a value, which is "silently" set to the zero value.
|
abstract Value<V> |
newValue(Number value)
Creates a value, which is "vocally" set to the specified value.
|
abstract Value<V> |
newValue(String value)
Creates a value, which is "vocally" set to the specified value.
|
abstract Vector<V> |
newVector(int capacity) |
public abstract Value<V> newValue()
Creates a value, which is "silently" set to the zero value.
public abstract Value<V> newValue(Number value)
Creates a value, which is "vocally" set to the specified value.
public abstract Value<V> newValue(String value)
Creates a value, which is "vocally" set to the specified value.
Copyright © 2019. All rights reserved.