package sds.decompile;

/**
 * This class is for operand stack.
 * @author inagaki
 */
public class OperandStack extends SimpleStack {
	/**
	 * constructor.
	 */
	public OperandStack() {
		super();
	}

	/**
	 * push int value element to stack.
	 * @param element int value
	 */
	public void push(int element) {
		push(Integer.toString(element));
	}

	/**
	 * push long value element to stack.
	 * @param element long value
	 */
	public void push(long element) {
		push(Long.toString(element) + "L");
	}

	/**
	 * push float value element to stack.
	 * @param element float value
	 */
	public void push(float element) {
		push(Float.toString(element) + "f");
	}

	/**
	 * push double value element to stack.
	 * @param element double value
	 */
	public void push(double element) {
		push(Double.toString(element) + "d");
	}
}
@@ -336,19 +336,26 @@
 element)
+, %22int%22
 );%0A
-
 %09%7D%0A%0A%09/**
@@ -497,16 +497,24 @@
 t) + %22L%22
+, %22long%22
 );%0A%09%7D%0A%0A%09
@@ -663,16 +663,25 @@
 t) + %22f%22
+, %22float%22
 );%0A%09%7D%0A%0A%09
@@ -793,24 +793,24 @@
  element) %7B%0A
-
 %09%09push(Doubl
@@ -834,15 +834,25 @@
 t) + %22d%22
+, %22double%22
 );%0A%09%7D%0A%7D

add type.