samples/apifest1/day1/inputandoperation/src/org/netbeans/apifest/boolcircuit/OrOperation.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:34 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 OrOperation extends Operation {
21 /** Creates a new instance of orOperation */
22 OrOperation(Input in1, Input in2) {
27 boolean performBooleanOperation() {
28 return input1.getBooleanValue() || input2.getBooleanValue();