|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.dsol.interpreter.classfile.Constant
public abstract class Constant
A Constant
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Field Summary | |
---|---|
protected Constant[] |
constantPool
the constantPool it is part of |
Constructor Summary | |
---|---|
Constant(Constant[] constantPool)
constructs a new Constant |
Method Summary | |
---|---|
abstract int |
getTag()
returns the tag of the constant |
static Constant |
readConstant(Constant[] constantPool,
DataInput dataInput)
reads a constant from the stream |
static String |
toString(Constant[] constantPool)
parses the constantPool to string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Constant[] constantPool
Constructor Detail |
---|
public Constant(Constant[] constantPool)
constantPool
- the constantPool it is part ofMethod Detail |
---|
public abstract int getTag()
public static Constant readConstant(Constant[] constantPool, DataInput dataInput) throws IOException
dataInput
- the dataInputconstantPool
- the constantPool
IOException
- on exceptionpublic static String toString(Constant[] constantPool)
constantPool
- the pool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |