samples/apifest1/day2/stackbasedsolution/src/org/netbeans/apifest/boolcircuit/Circuit2.java
author Jaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Jun 2008 09:58:08 +0200
changeset 153 b5cbb797ec0a
parent 133 50bf1b976c0d
child 154 0fd5e9c500b9
permissions -rw-r--r--
up to line 2000
jtulach@153
     1
/*
jtulach@153
     2
 * The contents of this file are subject to the terms of the Common Development
jtulach@153
     3
 * and Distribution License (the License). You may not use this file except in
jtulach@153
     4
 * compliance with the License.
jtulach@153
     5
 *
jtulach@153
     6
 * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
jtulach@153
     7
 * or http://www.netbeans.org/cddl.txt.
jtulach@153
     8
 *
jtulach@153
     9
 * When distributing Covered Code, include this CDDL Header Notice in each file
jtulach@153
    10
 * and include the License file at http://www.netbeans.org/cddl.txt.
jtulach@153
    11
 * If applicable, add the following below the CDDL Header, with the fields
jtulach@153
    12
 * enclosed by brackets [] replaced by your own identifying information:
jtulach@153
    13
 * "Portions Copyrighted [year] [name of copyright owner]"
jtulach@153
    14
 *
jtulach@153
    15
 * The Original Software is NetBeans. The Initial Developer of the Original
jtulach@153
    16
 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
jtulach@153
    17
 * Microsystems, Inc. All Rights Reserved.
jtulach@153
    18
 */
jtulach@153
    19
jtulach@52
    20
package org.netbeans.apifest.boolcircuit;
jtulach@52
    21
jtulach@52
    22
import java.util.Stack;
jtulach@52
    23
jtulach@52
    24
/**
jtulach@52
    25
 */ 
jtulach@54
    26
//BEGIN: apifest.day2.stackbasedsolution.Circuit2
jtulach@52
    27
public interface Circuit2 extends Circuit {
jtulach@153
    28
    public double evaluate (double ... input) throws IllegalArgumentException;
jtulach@52
    29
}
jtulach@54
    30
//END: apifest.day2.stackbasedsolution.Circuit2