Lines Matching full:value
21 package proguard.evaluation.value;
31 // Shared copies of Value objects, to avoid creating a lot of objects.
50 public IntegerValue createIntegerValue(int value)
52 switch (value)
61 default: return new ParticularIntegerValue(value);
66 public LongValue createLongValue(long value)
68 return value == 0 ? LONG_VALUE_0 :
69 value == 1 ? LONG_VALUE_1 :
70 new ParticularLongValue(value);
74 public FloatValue createFloatValue(float value)
76 return value == 0.0f ? FLOAT_VALUE_0 :
77 value == 1.0f ? FLOAT_VALUE_1 :
78 value == 2.0f ? FLOAT_VALUE_2 :
79 new ParticularFloatValue(value);
83 public DoubleValue createDoubleValue(double value)
85 return value == 0.0 ? DOUBLE_VALUE_0 :
86 value == 1.0 ? DOUBLE_VALUE_1 :
87 new ParticularDoubleValue(value);