/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * This source file is part of SableVM.                            *
 *                                                                 *
 * See the file "LICENSE" for the copyright information and for    *
 * the terms and conditions for copying, distribution and          *
 * modification of this source file.                               *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/**
 * @author Patrick Latifi
 */
public class SConstantDoubleInfo extends SCpInfo
{
	private int highBytes;
	private int lowBytes;

	public SConstantDoubleInfo(int highBytes, int lowBytes)
	{
		super(SCpInfo.CONSTANT_DOUBLE);
		this.highBytes = highBytes;
		this.lowBytes = lowBytes;
	}

	public int getHighBytes()
	{
		return highBytes;
	}

	public int getLowBytes()
	{
		return lowBytes;
	}

	public void setHighBytes(int highBytes)
	{
		this.highBytes = highBytes;
	}

	public void setLowBytes(int lowBytes)
	{
		this.lowBytes = lowBytes;
	}

    public String toString()
    {
	return super.toString() +
	    "high bytes = " + highBytes + 
	    "\nlow bytes = " + lowBytes;
    }
}
