jaroslav@24: /** jaroslav@106: * Back 2 Browser Bytecode Translator jaroslav@106: * Copyright (C) 2012 Jaroslav Tulach jaroslav@24: * jaroslav@24: * This program is free software: you can redistribute it and/or modify jaroslav@24: * it under the terms of the GNU General Public License as published by jaroslav@24: * the Free Software Foundation, version 2 of the License. jaroslav@24: * jaroslav@24: * This program is distributed in the hope that it will be useful, jaroslav@24: * but WITHOUT ANY WARRANTY; without even the implied warranty of jaroslav@24: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jaroslav@24: * GNU General Public License for more details. jaroslav@24: * jaroslav@24: * You should have received a copy of the GNU General Public License jaroslav@24: * along with this program. Look for COPYING file in the top folder. jaroslav@24: * If not, see http://opensource.org/licenses/GPL-2.0. jaroslav@13: */ jaroslav@22: package org.apidesign.vm4brwsr; jaroslav@13: jaroslav@13: /** jaroslav@13: * jaroslav@13: * @author Jaroslav Tulach jaroslav@13: */ jaroslav@15: public class InstanceSub extends Instance implements GetByte { jaroslav@137: private double in; jaroslav@137: jaroslav@13: public InstanceSub(int i, double d) { jaroslav@13: super(i, d); jaroslav@137: in = 555.55; jaroslav@13: } jaroslav@13: jaroslav@13: @Override jaroslav@13: public void setByte(byte b) { jaroslav@13: super.setByte((byte) (b + 1)); jaroslav@13: } jaroslav@102: jaroslav@102: public static double recallDbl() { jaroslav@102: return defaultDblValue(); jaroslav@102: } jaroslav@13: }