samples/apifest1/day2/inputandoperation/src/org/netbeans/apifest/boolcircuit/OperationInput.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:32 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 OperationInput extends Input {
16 private Operation operation;
17 /** Creates a new instance of OperationInput */
18 public OperationInput(Operation oper) {
22 public boolean getBooleanValue() {
23 return operation.performBooleanOperation();
26 public double getRealValue() {
27 return operation.performRealOperation();