samples/apifest1/day2/inputandoperation/src/org/netbeans/apifest/boolcircuit/BooleanInput.java
Adding samples from API fest to the repository, including pieces of their code in the document, not just links
4 * Created on July 12, 2006, 2:31 PM
6 * To change this template, choose Tools | Template Manager
7 * and open the template in the editor.
10 package org.netbeans.apifest.boolcircuit;
15 final class BooleanInput extends Input {
17 private boolean value;
19 /** Creates a new instance of BooleanInput */
20 public BooleanInput(boolean val) {
24 public boolean getBooleanValue() {
28 public double getRealValue() {
29 return value ? 1f : 0f;