small improvements, little bit faster decompilation by caching the number values of the strings

This commit is contained in:
2015-10-23 12:56:27 +02:00
parent cbb3b1bff2
commit a4f4dd3604
120 changed files with 291 additions and 288 deletions
@@ -42,6 +42,11 @@ public class DuplicateItem extends GraphTargetItem implements SimpleValue {
return value.getResult();
}
@Override
public Double getResultAsNumber() {
return value.getResultAsNumber();
}
@Override
public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) throws InterruptedException {
if ((value instanceof SimpleValue) && (((SimpleValue) value).isSimpleValue())) {