1 32 33 package com.jeantessier.classreader; 34 35 import java.io.*; 36 37 public class Double_info extends ConstantPoolEntry { 38 private double value; 39 40 public Double_info(ConstantPool constantPool, DataInputStream in) throws IOException { 41 super(constantPool); 42 43 value = in.readDouble(); 44 } 45 46 public double getValue() { 47 return value; 48 } 49 50 public String toString() { 51 return String.valueOf(getValue()); 52 } 53 54 public void accept(Visitor visitor) { 55 visitor.visitDouble_info(this); 56 } 57 } 58 | Popular Tags |