public class IdentifiedValueFactory extends ParticularValueFactory
| Modifier and Type | Field and Description |
|---|---|
protected int |
doubleID |
protected int |
floatID |
protected int |
integerID |
protected int |
longID |
protected int |
referenceID |
| Constructor and Description |
|---|
IdentifiedValueFactory() |
| Modifier and Type | Method and Description |
|---|---|
ReferenceValue |
createArrayReferenceValue(String type,
Clazz referencedClass,
IntegerValue arrayLength)
Creates a new ReferenceValue for arrays of the given type and length.
|
DoubleValue |
createDoubleValue()
Creates a new DoubleValue with an undefined value.
|
FloatValue |
createFloatValue()
Creates a new FloatValue with an undefined value.
|
IntegerValue |
createIntegerValue()
Creates a new IntegerValue with an undefined value.
|
LongValue |
createLongValue()
Creates a new LongValue with an undefined value.
|
ReferenceValue |
createReferenceValue(String type,
Clazz referencedClass,
boolean mayBeNull)
Creates a new ReferenceValue of the given type.
|
createDoubleValue, createFloatValue, createIntegerValue, createLongValuecreateReferenceValueNull, createValueprotected int integerID
protected int longID
protected int floatID
protected int doubleID
protected int referenceID
public IntegerValue createIntegerValue()
ValueFactorycreateIntegerValue in class ValueFactorypublic LongValue createLongValue()
ValueFactorycreateLongValue in class ValueFactorypublic FloatValue createFloatValue()
ValueFactorycreateFloatValue in class ValueFactorypublic DoubleValue createDoubleValue()
ValueFactorycreateDoubleValue in class ValueFactorypublic ReferenceValue createReferenceValue(String type, Clazz referencedClass, boolean mayBeNull)
ValueFactorynull,
the ReferenceValue represents null.createReferenceValue in class ValueFactorypublic ReferenceValue createArrayReferenceValue(String type, Clazz referencedClass, IntegerValue arrayLength)
ValueFactorycreateArrayReferenceValue in class ParticularValueFactoryCopyright © 2015. All Rights Reserved.