blob: c85c71bbb142be972fb55ffe17aa762f0c9b4fc6 [file] [log] [blame]
package org.eclipse.jdt.internal.debug.eval.ast.instructions;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
/**
* Pushes a double literal onto the stack.
*/
public class PushDouble extends SimpleInstruction {
private double fValue;
public PushDouble(double value) {
fValue = value;
}
public void execute() {
pushNewValue(fValue);
}
public String toString() {
return InstructionsEvaluationMessages.getString("PushDouble.push__1") + fValue; //$NON-NLS-1$
}
}