2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
5 package org.apidesign.java4browser;
9 * @author Jaroslav Tulach <jtulach@netbeans.org>
11 public class Instance {
16 protected byte b = (byte)31;
21 public Instance(int i, double d) {
25 public byte getByte() {
29 public void setByte(byte b) {
32 public static double defaultDblValue() {
33 Instance create = new Instance();
37 public static byte assignedByteValue() {
38 return new Instance().b;
40 public static double magicOne() {
41 Instance i = new Instance(10, 3.3d);
43 return (i.i - i.b) * i.d;
45 public static byte virtualBytes() {
46 Instance i = new Instance();
47 i.setByte((byte)0x0a);