src/test/java/org/apidesign/java4browser/InstanceSub.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Thu, 20 Sep 2012 09:29:42 +0200
changeset 15 65f6fdfd34b6
parent 13 99f832e5765f
permissions -rw-r--r--
Able to invoke interface methods
     1 /*
     2  * To change this template, choose Tools | Templates
     3  * and open the template in the editor.
     4  */
     5 package org.apidesign.java4browser;
     6 
     7 /**
     8  *
     9  * @author Jaroslav Tulach <jtulach@netbeans.org>
    10  */
    11 public class InstanceSub extends Instance implements GetByte {
    12     public InstanceSub(int i, double d) {
    13         super(i, d);
    14     }
    15     
    16     @Override
    17     public void setByte(byte b) {
    18         super.setByte((byte) (b + 1));
    19     }
    20 }