ac.essex.ooechs.ecj.ecj2java.lang
Class Constant

java.lang.Object
  extended by ac.essex.ooechs.ecj.ecj2java.lang.Constant

public class Constant
extends java.lang.Object

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version, provided that any use properly credits the author. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org

Version:
1.0
Author:
Olly Oechsle, University of Essex, Date: 12-Oct-2006

Field Summary
protected  java.lang.String name
           
protected  int value
           
 
Constructor Summary
Constant(java.lang.String name, int value)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

value

protected int value
Constructor Detail

Constant

public Constant(java.lang.String name,
                int value)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object