TestInterface.java revision 3233:b5d08bc0d224
1/* 2 * Copyright (c) 2001, 2002, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24package pkg; 25 26import java.util.*; 27import java.lang.*; 28import java.io.*; 29 30public interface TestInterface { 31 32 /** 33 * Test 11 passes. 34 * @param p1 Test 12 passes. 35 * @param p2 Test 13 passes. 36 * @return a string. 37 * @throws java.io.IOException Test 14 passes. 38 * @throws java.lang.NullPointerException Test 15 passes. 39 * @see java.lang.String 40 * @see java.util.Vector 41 */ 42 public String testInterface_method1(int p1, int p2) throws java.io.IOException, 43java.lang.NullPointerException; 44 45 /** 46 * Test 16 passes. 47 * @param p1 Test 17 passes. 48 * @param p2 Test 18 passes. 49 * @return a string. 50 * @throws java.io.IOException Test 19 passes. 51 * @throws java.lang.NullPointerException Test 20 passes. 52 * @see java.lang.String 53 * @see java.util.Vector 54 */ 55 public String testInterface_method2(int p1, int p2) throws java.io.IOException, 56java.lang.NullPointerException; 57 58} 59