|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bcel.generic.Instruction
org.apache.bcel.generic.DCONST
public class DCONST
DCONST - Push 0.0 or 1.0, other values cause an exception
Stack: ... -> ...,
Field Summary | |
---|---|
private double |
value
|
Fields inherited from class org.apache.bcel.generic.Instruction |
---|
length, opcode |
Constructor Summary | |
---|---|
DCONST()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). |
|
DCONST(double f)
|
Method Summary | |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s). |
Type |
getType(ConstantPoolGen cp)
|
java.lang.Number |
getValue()
|
Methods inherited from class org.apache.bcel.generic.Instruction |
---|
consumeStack, copy, dispose, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.bcel.generic.StackProducer |
---|
produceStack |
Field Detail |
---|
private double value
Constructor Detail |
---|
DCONST()
public DCONST(double f)
Method Detail |
---|
public java.lang.Number getValue()
getValue
in interface ConstantPushInstruction
public Type getType(ConstantPoolGen cp)
getType
in interface TypedInstruction
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |